Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",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.618/1.618, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001285/0.001285, allocations: 168.8 kB / 366.7 MB, free: 1.707 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.807/1.807, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.001027/0.001027, allocations: 95.08 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.775e-05/2.777e-05, allocations: 8 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8224/0.8224, allocations: 116.3 MB / 0.9734 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2368/1.059, allocations: 138.9 MB / 1.109 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/1.06, allocations: 81.78 kB / 1.109 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009965/1.07, allocations: 3.263 MB / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.844e-06/1.07, allocations: 1.5 kB / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.154e-05/1.07, allocations: 4 kB / 1.112 GB, free: 7.949 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006523/1.07, allocations: 429.2 kB / 1.113 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.774e-05/1.07, allocations: 8.969 kB / 1.113 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.492e-05/1.071, allocations: 11.91 kB / 1.113 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/1.071, allocations: 190.8 kB / 1.113 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/1.071, allocations: 1.188 kB / 1.113 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/1.071, allocations: 12 kB / 1.113 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001035/1.071, allocations: 31.92 kB / 1.113 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/1.071, allocations: 64.16 kB / 1.113 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.071, allocations: 0.625 kB / 1.113 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/1.071, allocations: 10.08 kB / 1.113 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.071, allocations: 0 / 1.113 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000952/1.072, allocations: 393.1 kB / 1.113 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.113e-05/1.072, allocations: 26.58 kB / 1.113 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/1.072, allocations: 16.98 kB / 1.113 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/1.072, allocations: 7.984 kB / 1.113 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/1.072, allocations: 87.28 kB / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/1.072, allocations: 0 / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000225/1.073, allocations: 94.64 kB / 1.114 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/1.073, allocations: 55.41 kB / 1.114 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/1.073, allocations: 119.4 kB / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/1.073, allocations: 29.7 kB / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/1.073, allocations: 117.3 kB / 1.114 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/1.073, allocations: 31.59 kB / 1.114 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/1.073, allocations: 0 / 1.114 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.073, allocations: 326.8 kB / 1.114 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.337e-05/1.073, allocations: 32 kB / 1.114 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/1.074, allocations: 115.9 kB / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/1.074, allocations: 75.16 kB / 1.114 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.074, allocations: 0 / 1.114 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004893/1.074, allocations: 195.8 kB / 1.115 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/1.074, allocations: 41.98 kB / 1.115 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.074, allocations: 8 kB / 1.115 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.074, allocations: 4 kB / 1.115 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/1.075, allocations: 27.92 kB / 1.115 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.075, allocations: 4 kB / 1.115 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/1.075, allocations: 59.8 kB / 1.115 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/1.075, allocations: 8 kB / 1.115 GB, free: 5.133 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,intDef.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * 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.0001198/1.075, allocations: 112.9 kB / 1.115 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001388/1.075, allocations: 85.52 kB / 1.115 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/1.075, allocations: 15.86 kB / 1.115 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.914e-05/1.075, allocations: 8.625 kB / 1.115 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.075, allocations: 0 / 1.115 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.075, allocations: 8 kB / 1.115 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.075, allocations: 3.984 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/1.076, allocations: 354.9 kB / 1.115 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.076, allocations: 0 / 1.115 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/1.076, allocations: 15.98 kB / 1.115 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.076, allocations: 4.047 kB / 1.115 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/1.076, allocations: 4.984 kB / 1.115 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.076, allocations: 0 / 1.115 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.076, allocations: 5.406 kB / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/1.076, allocations: 207.4 kB / 1.116 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/1.076, allocations: 92.91 kB / 1.116 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/1.076, allocations: 0 / 1.116 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/1.076, allocations: 15.97 kB / 1.116 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/1.077, allocations: 15.92 kB / 1.116 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/1.077, allocations: 6.062 kB / 1.116 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.887e-05/1.077, allocations: 107.5 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/1.077, allocations: 0 / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002945/1.077, allocations: 32 kB / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (intDef.trigger,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007215/1.078, allocations: 0.7668 MB / 1.117 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000278/1.078, allocations: 163.3 kB / 1.117 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.078, allocations: 0 / 1.117 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.339e-05/1.078, allocations: 27.94 kB / 1.117 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/1.078, allocations: 17.67 kB / 1.117 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/1.079, allocations: 229.1 kB / 1.117 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/1.079, allocations: 0.7126 MB / 1.118 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.589e-05/1.079, allocations: 8.422 kB / 1.118 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/1.079, allocations: 35.44 kB / 1.118 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of SimCode: time 4.7e-07/1.079, allocations: 0 / 1.118 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/1.102, allocations: 2.413 MB / 1.12 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/1.103, allocations: 158.7 kB / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.847, allocations: 0 / 1.12 GB, free: 15.4 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)