Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4879/0.4879, allocations: 90.92 MB / 99.35 MB, free: 2.133 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 221.5 MB / 343.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008378/0.0008378, allocations: 87.95 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.913e-05/1.906e-05, allocations: 0 / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1248, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4147/0.5396, allocations: 101.5 MB / 0.6528 GB, free: 8.449 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001718/0.5398, allocations: 72.28 kB / 0.6528 GB, free: 8.41 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003628/0.5434, allocations: 1.399 MB / 0.6542 GB, free: 7.195 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5435, allocations: 0 / 0.6542 GB, free: 7.195 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.5435, allocations: 0 / 0.6542 GB, free: 7.195 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003758/0.5439, allocations: 349.1 kB / 0.6545 GB, free: 6.812 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5439, allocations: 8.031 kB / 0.6545 GB, free: 6.805 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.544, allocations: 15.11 kB / 0.6546 GB, free: 6.793 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.5441, allocations: 179.1 kB / 0.6547 GB, free: 6.582 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.5441, allocations: 0 / 0.6547 GB, free: 6.582 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.5441, allocations: 4 kB / 0.6547 GB, free: 6.578 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.598e-05/0.5442, allocations: 19.75 kB / 0.6547 GB, free: 6.562 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.076e-05/0.5443, allocations: 53.25 kB / 0.6548 GB, free: 6.512 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5443, allocations: 0 / 0.6548 GB, free: 6.512 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5443, allocations: 7.922 kB / 0.6548 GB, free: 6.504 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5443, allocations: 6.578 kB / 0.6548 GB, free: 6.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.5448, allocations: 272.5 kB / 0.6551 GB, free: 6.211 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.11e-05/0.5449, allocations: 44.58 kB / 0.6551 GB, free: 6.168 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.5449, allocations: 24.38 kB / 0.6551 GB, free: 6.145 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.5449, allocations: 0 / 0.6551 GB, free: 6.145 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.5451, allocations: 85.02 kB / 0.6552 GB, free: 6.059 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.5451, allocations: 0 / 0.6552 GB, free: 6.059 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001561/0.5452, allocations: 74.81 kB / 0.6553 GB, free: 5.988 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.5453, allocations: 51.41 kB / 0.6553 GB, free: 5.926 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.237e-05/0.5453, allocations: 98.38 kB / 0.6554 GB, free: 5.828 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.5453, allocations: 25.7 kB / 0.6555 GB, free: 5.797 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.5454, allocations: 103 kB / 0.6556 GB, free: 5.695 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.5454, allocations: 18.81 kB / 0.6556 GB, free: 5.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.5454, allocations: 0 / 0.6556 GB, free: 5.68 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5456, allocations: 321.8 kB / 0.6559 GB, free: 5.359 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.706e-05/0.5456, allocations: 11.12 kB / 0.6559 GB, free: 5.352 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.277e-05/0.5456, allocations: 38.06 kB / 0.6559 GB, free: 5.309 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.065e-05/0.5457, allocations: 21.72 kB / 0.6559 GB, free: 5.293 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5457, allocations: 4 kB / 0.656 GB, free: 5.289 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001124/0.5458, allocations: 91.84 kB / 0.656 GB, free: 5.203 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.5458, allocations: 7.984 kB / 0.656 GB, free: 5.195 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5458, allocations: 0 / 0.656 GB, free: 5.195 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.5459, allocations: 7.953 kB / 0.6561 GB, free: 5.188 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.5459, allocations: 11.56 kB / 0.6561 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5459, allocations: 0 / 0.6561 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.426e-05/0.546, allocations: 11.98 kB / 0.6561 GB, free: 5.168 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.546, allocations: 0 / 0.6561 GB, free: 5.168 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 6.395e-05/0.5461, allocations: 113.6 kB / 0.6562 GB, free: 5.051 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.635e-05/0.5462, allocations: 81.88 kB / 0.6563 GB, free: 4.977 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.5462, allocations: 7.953 kB / 0.6563 GB, free: 4.969 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.5462, allocations: 8.031 kB / 0.6563 GB, free: 4.965 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5463, allocations: 0 / 0.6563 GB, free: 4.965 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5463, allocations: 4 kB / 0.6563 GB, free: 4.961 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5463, allocations: 3.984 kB / 0.6563 GB, free: 4.957 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.5466, allocations: 329.1 kB / 0.6566 GB, free: 4.609 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5466, allocations: 0 / 0.6566 GB, free: 4.609 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.5466, allocations: 11.94 kB / 0.6566 GB, free: 4.598 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5467, allocations: 0 / 0.6566 GB, free: 4.598 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.5467, allocations: 0 / 0.6566 GB, free: 4.598 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5467, allocations: 0.8125 kB / 0.6566 GB, free: 4.598 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5467, allocations: 0 / 0.6566 GB, free: 4.598 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.5468, allocations: 178.2 kB / 0.6568 GB, free: 4.418 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.5469, allocations: 81.09 kB / 0.6569 GB, free: 4.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.5469, allocations: 3.953 kB / 0.6569 GB, free: 4.316 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.547, allocations: 4 kB / 0.6569 GB, free: 4.312 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.547, allocations: 7.984 kB / 0.6569 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.547, allocations: 11.69 kB / 0.6569 GB, free: 4.297 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.902e-05/0.5471, allocations: 83.27 kB / 0.657 GB, free: 4.215 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5471, allocations: 0 / 0.657 GB, free: 4.215 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002144/0.5473, allocations: 12 kB / 0.657 GB, free: 4.203 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete 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.0003953/0.5477, allocations: 0.7149 MB / 0.6577 GB, free: 3.477 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.5478, allocations: 47.2 kB / 0.6577 GB, free: 3.441 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5478, allocations: 0 / 0.6577 GB, free: 3.441 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.46e-05/0.5479, allocations: 23.38 kB / 0.6577 GB, free: 3.422 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.5481, allocations: 20.53 kB / 0.6578 GB, free: 3.406 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.5484, allocations: 107.7 kB / 0.6579 GB, free: 3.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.5487, allocations: 0.6885 MB / 0.6585 GB, free: 2.555 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.861e-05/0.5487, allocations: 7.984 kB / 0.6585 GB, free: 2.547 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.5488, allocations: 17.62 kB / 0.6586 GB, free: 2.535 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5488, allocations: 0 / 0.6586 GB, free: 2.535 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.5665, allocations: 1.192 MB / 0.6597 GB, free: 1.359 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.5668, allocations: 141.1 kB / 0.6599 GB, free: 1.172 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.375/1.942, allocations: 0 / 0.6599 GB, free: 1.172 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)