Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 2.913/2.913, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.002072/0.002072, allocations: 168.9 kB / 361.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.133/3.133, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.001923/0.001923, allocations: 93.03 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.142e-05/4.147e-05, allocations: 4 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312/1.312, allocations: 115.3 MB / 0.9645 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3323/1.645, allocations: 137.4 MB / 1.099 GB, free: 2.328 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004862/1.645, allocations: 73.55 kB / 1.099 GB, free: 2.258 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01503/1.66, allocations: 2.92 MB / 1.102 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.456e-06/1.66, allocations: 0 / 1.102 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.65e-05/1.66, allocations: 4 kB / 1.102 GB, free: 15.41 MB / 0.7136 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.0009218/1.661, allocations: 409.8 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.956e-05/1.661, allocations: 12.03 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/1.662, allocations: 15.64 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/1.662, allocations: 178.9 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/1.662, allocations: 0 / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.296e-05/1.662, allocations: 8 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001035/1.662, allocations: 15.94 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/1.662, allocations: 45.67 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/1.662, allocations: 0 / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/1.662, allocations: 3.984 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/1.662, allocations: 7 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008698/1.663, allocations: 329.3 kB / 1.103 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/1.663, allocations: 38.56 kB / 1.103 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/1.663, allocations: 16.8 kB / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/1.663, allocations: 0 / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/1.664, allocations: 91.38 kB / 1.103 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.706e-06/1.664, allocations: 0 / 1.103 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003905/1.664, allocations: 93.61 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/1.664, allocations: 55.41 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/1.664, allocations: 116.1 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/1.665, allocations: 35.95 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/1.665, allocations: 92.36 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.234e-05/1.665, allocations: 11.81 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/1.665, allocations: 12 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000243/1.665, allocations: 322.8 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/1.665, allocations: 48 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/1.666, allocations: 98.56 kB / 1.104 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/1.666, allocations: 79.86 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/1.666, allocations: 0 / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009236/1.667, allocations: 221.4 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/1.667, allocations: 67.39 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.667, allocations: 8.094 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/1.667, allocations: 4 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/1.667, allocations: 4 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/1.667, allocations: 4 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/1.668, allocations: 71.84 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/1.668, allocations: 15.98 kB / 1.104 GB, free: 12.69 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.0001551/1.668, allocations: 120.9 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002344/1.668, allocations: 93.98 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/1.669, allocations: 7.906 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.835e-05/1.669, allocations: 12.61 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/1.669, allocations: 8 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.669, allocations: 0 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/1.669, allocations: 0 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/1.669, allocations: 322 kB / 1.105 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.669, allocations: 0 / 1.105 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/1.669, allocations: 4 kB / 1.105 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/1.669, allocations: 0 / 1.105 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/1.669, allocations: 0 / 1.105 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.669, allocations: 4 kB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.669, allocations: 4 kB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/1.67, allocations: 195.3 kB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.67, allocations: 85.02 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/1.67, allocations: 0 / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/1.67, allocations: 0 / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/1.67, allocations: 11.98 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/1.67, allocations: 4 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001139/1.67, allocations: 95.27 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/1.67, allocations: 0 / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006258/1.671, allocations: 39.88 kB / 1.105 GB, free: 11.61 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.001044/1.672, allocations: 0.7498 MB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006143/1.673, allocations: 242.9 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.673, allocations: 0 / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/1.673, allocations: 29.22 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/1.673, allocations: 8.5 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008302/1.674, allocations: 140.3 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/1.675, allocations: 0.6894 MB / 1.107 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.744e-05/1.675, allocations: 16.66 kB / 1.107 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/1.675, allocations: 22.53 kB / 1.107 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/1.675, allocations: 0 / 1.107 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.122/1.797, allocations: 2.263 MB / 1.109 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003479/1.797, allocations: 161.9 kB / 1.109 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.956/4.753, allocations: 4 kB / 1.109 GB, free: 7.242 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)