Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.832/1.832, allocations: 292.6 MB / 307.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001185, allocations: 192.1 kB / 377.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 0.6366 GB, free: 8.641 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009464/0.0009464, allocations: 90.98 kB / 0.7509 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003936, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3058, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7807/1.087, allocations: 139.1 MB / 1.124 GB, free: 35.49 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/1.087, allocations: 69.41 kB / 1.124 GB, free: 35.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008043/1.095, allocations: 2.953 MB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.244e-06/1.095, allocations: 4 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.018e-05/1.095, allocations: 0 / 1.127 GB, free: 33.32 MB / 0.7292 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.000437/1.095, allocations: 419.3 kB / 1.128 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/1.095, allocations: 12.02 kB / 1.128 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/1.096, allocations: 35.48 kB / 1.128 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/1.096, allocations: 13.97 kB / 1.128 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/1.096, allocations: 174.9 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/1.096, allocations: 7.969 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.449e-05/1.096, allocations: 19.44 kB / 1.128 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/1.096, allocations: 52.44 kB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.096, allocations: 0 / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/1.096, allocations: 1.5 kB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.096, allocations: 4 kB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.081e-05/1.096, allocations: 12.44 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/1.096, allocations: 354.7 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.031e-05/1.097, allocations: 44.44 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/1.097, allocations: 0 / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/1.097, allocations: 89.97 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/1.097, allocations: 0 / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0002825/1.097, allocations: 125.2 kB / 1.129 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/1.097, allocations: 55.41 kB / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/1.097, allocations: 113.7 kB / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/1.097, allocations: 41.17 kB / 1.129 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/1.097, allocations: 92.28 kB / 1.129 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/1.097, allocations: 19.8 kB / 1.129 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-05/1.097, allocations: 7.938 kB / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.157e-05/1.098, allocations: 322.5 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/1.098, allocations: 62.59 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/1.098, allocations: 113.2 kB / 1.129 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/1.098, allocations: 116.2 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.098, allocations: 0 / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004191/1.098, allocations: 281.5 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.088e-05/1.098, allocations: 72.88 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.098, allocations: 4 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/1.099, allocations: 3.969 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/1.099, allocations: 4 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.099, allocations: 4.547 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/1.099, allocations: 77.44 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/1.099, allocations: 8.562 kB / 1.13 GB, free: 30.54 MB / 0.7292 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 () * Number of clocked 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.0001234/1.099, allocations: 139.3 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/1.099, allocations: 7.906 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/1.099, allocations: 12.38 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.099, allocations: 0 / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.099, allocations: 0 / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/1.099, allocations: 3.422 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/1.1, allocations: 356.7 kB / 1.13 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.1, allocations: 0 / 1.13 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-06/1.1, allocations: 0 / 1.13 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.1, allocations: 4.688 kB / 1.13 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/1.1, allocations: 4 kB / 1.13 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.1, allocations: 4.938 kB / 1.13 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.1, allocations: 0 / 1.13 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/1.1, allocations: 202.4 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/1.1, allocations: 85.02 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/1.1, allocations: 4 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.261e-05/1.1, allocations: 2.531 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/1.1, allocations: 7.516 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/1.1, allocations: 12 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.444e-05/1.1, allocations: 99.42 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.1, allocations: 0 / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000283/1.1, allocations: 32.94 kB / 1.131 GB, free: 29.54 MB / 0.7292 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) * Number of clocked states: 0 () * 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.0004511/1.101, allocations: 0.7485 MB / 1.132 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003211/1.101, allocations: 252.9 kB / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.101, allocations: 0 / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.404e-05/1.101, allocations: 35.41 kB / 1.132 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/1.101, allocations: 16.81 kB / 1.132 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006844/1.102, allocations: 1.325 MB / 1.133 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/1.102, allocations: 0.6992 MB / 1.134 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.145e-05/1.102, allocations: 13.08 kB / 1.134 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/1.102, allocations: 19.44 kB / 1.134 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of SimCode: time 3.41e-07/1.102, allocations: 0 / 1.134 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/1.116, allocations: 2.639 MB / 1.136 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/1.117, allocations: 188.4 kB / 1.137 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.884, allocations: 4 kB / 1.137 GB, free: 24.68 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)