Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.657/2.657, allocations: 285 MB / 292.5 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 176.3 kB / 360.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.3 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001067, allocations: 92.86 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.355e-05, allocations: 8 kB / 0.8509 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9725/0.9725, allocations: 115.2 MB / 0.9635 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2616/1.234, allocations: 137.3 MB / 1.097 GB, free: 3.23 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/1.235, allocations: 65.28 kB / 1.098 GB, free: 3.168 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02361/1.258, allocations: 2.932 MB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/1.258, allocations: 0 / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of Transformations before backend: time 8.897e-06/1.258, allocations: 0 / 1.1 GB, free: 308 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006258/1.259, allocations: 402.3 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/1.259, allocations: 10.88 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/1.259, allocations: 9.203 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/1.259, allocations: 177.6 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/1.259, allocations: 3.984 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-05/1.26, allocations: 8 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.166e-05/1.26, allocations: 15.94 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/1.26, allocations: 54.91 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.26, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/1.26, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/1.26, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/1.261, allocations: 333.2 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/1.261, allocations: 30.58 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/1.261, allocations: 20.86 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/1.261, allocations: 2.016 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002617/1.261, allocations: 91.44 kB / 1.102 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.635e-06/1.261, allocations: 6.469 kB / 1.102 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0004031/1.262, allocations: 93.58 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/1.262, allocations: 55.41 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/1.262, allocations: 116.8 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/1.262, allocations: 29.7 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/1.262, allocations: 92.38 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/1.262, allocations: 15.81 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/1.262, allocations: 0 / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.262, allocations: 326.8 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/1.263, allocations: 55.92 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/1.263, allocations: 98 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006773/1.264, allocations: 69.19 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.264, allocations: 4 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001253/1.265, allocations: 224.3 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.235e-05/1.265, allocations: 64.5 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/1.265, allocations: 7.984 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/1.265, allocations: 0 / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/1.265, allocations: 11.94 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.265, allocations: 3.938 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008084/1.266, allocations: 76 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.885e-05/1.266, allocations: 15.98 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001714/1.266, allocations: 123.1 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/1.266, allocations: 4 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/1.267, allocations: 8.625 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.267, allocations: 4 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.267, allocations: 0 / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.267, allocations: 3.984 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005547/1.267, allocations: 319 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.267, allocations: 3.984 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/1.267, allocations: 11.94 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.267, allocations: 0 / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/1.267, allocations: 4 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.267, allocations: 0 / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.267, allocations: 4 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/1.268, allocations: 189.8 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/1.268, allocations: 89.02 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/1.268, allocations: 3.984 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/1.268, allocations: 5.078 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/1.268, allocations: 7.984 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/1.268, allocations: 7.312 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.865e-05/1.268, allocations: 87.28 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.21e-07/1.268, allocations: 0 / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000702/1.269, allocations: 39.92 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002404/1.269, allocations: 116.2 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007741/1.27, allocations: 246.7 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.27, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/1.27, allocations: 28 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/1.271, allocations: 14.78 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/1.271, allocations: 103.7 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/1.271, allocations: 0.6927 MB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.238e-05/1.272, allocations: 4.672 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/1.272, allocations: 11.44 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of SimCode: time 4.428e-06/1.272, allocations: 4 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.008735/1.28, allocations: 1.609 MB / 1.106 GB, free: 9.789 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)