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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 101.7 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 195.8 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7397/0.7397, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 65.38 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1488, allocations: 76.18 MB / 0.6316 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002689/0.1516, allocations: 1.465 MB / 0.633 GB, free: 3.457 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007759/0.1524, allocations: 442.9 kB / 0.6334 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.1524, allocations: 7.938 kB / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.1525, allocations: 11.92 kB / 0.6334 GB, free: 3 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.144e-05/0.1526, allocations: 3.938 kB / 0.6334 GB, free: 2.996 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.1528, allocations: 15.98 kB / 0.6335 GB, free: 2.98 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.368e-05/0.1529, allocations: 55.83 kB / 0.6335 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.153, allocations: 15.98 kB / 0.6335 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.778e-05/0.1531, allocations: 11.94 kB / 0.6335 GB, free: 2.898 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.1532, allocations: 27.91 kB / 0.6336 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.1532, allocations: 4 kB / 0.6336 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.1532, allocations: 8 kB / 0.6336 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.1532, allocations: 11.92 kB / 0.6336 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/0.1533, allocations: 27.86 kB / 0.6336 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.1534, allocations: 50.62 kB / 0.6337 GB, free: 2.773 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1534, allocations: 0 / 0.6337 GB, free: 2.773 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1534, allocations: 0 / 0.6337 GB, free: 2.773 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1534, allocations: 3.938 kB / 0.6337 GB, free: 2.77 MB / 478.1 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.0005054/0.1539, allocations: 356.3 kB / 0.634 GB, free: 2.375 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.154, allocations: 8.031 kB / 0.634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.202e-05/0.154, allocations: 38.75 kB / 0.6341 GB, free: 2.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.1541, allocations: 8.844 kB / 0.6341 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1542, allocations: 172.3 kB / 0.6342 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1542, allocations: 384 / 0.6342 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.1542, allocations: 8.375 kB / 0.6342 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1544, allocations: 61.75 kB / 0.6343 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1544, allocations: 0 / 0.6343 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1544, allocations: 0 / 0.6343 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1544, allocations: 3.984 kB / 0.6343 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.515e-05/0.1545, allocations: 27.98 kB / 0.6343 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.155, allocations: 300.7 kB / 0.6346 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.1551, allocations: 54.56 kB / 0.6347 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.742e-05/0.1551, allocations: 28.94 kB / 0.6347 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.1551, allocations: 0 / 0.6347 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.1553, allocations: 79.41 kB / 0.6348 GB, free: 1.473 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.1553, allocations: 0 / 0.6348 GB, free: 1.473 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002294/0.1556, allocations: 101.5 kB / 0.6349 GB, free: 1.367 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.1556, allocations: 55.41 kB / 0.6349 GB, free: 1.301 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.1557, allocations: 101.8 kB / 0.635 GB, free: 1.191 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1557, allocations: 34.08 kB / 0.635 GB, free: 1.152 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.1558, allocations: 84.08 kB / 0.6351 GB, free: 1.066 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.1558, allocations: 27.64 kB / 0.6351 GB, free: 1.039 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.1559, allocations: 29.72 kB / 0.6352 GB, free: 1.004 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.156, allocations: 330.7 kB / 0.6355 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.156, allocations: 15.94 kB / 0.6355 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.312e-05/0.1561, allocations: 43.42 kB / 0.6355 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1562, allocations: 79.53 kB / 0.6356 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.1562, allocations: 0 / 0.6356 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001389/0.1563, allocations: 97.45 kB / 0.6357 GB, free: 420 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1564, allocations: 9.719 kB / 0.6357 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1564, allocations: 0 / 0.6357 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1564, allocations: 4 kB / 0.6357 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.126e-05/0.1565, allocations: 8 kB / 0.6357 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1565, allocations: 0 / 0.6357 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.782e-05/0.1566, allocations: 11.98 kB / 0.6358 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1566, allocations: 7.938 kB / 0.6358 GB, free: 380 kB / 478.1 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.254e-05/0.1567, allocations: 125.9 kB / 0.6359 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.1567, allocations: 4 kB / 0.6359 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.1567, allocations: 7.969 kB / 0.6359 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1567, allocations: 0 / 0.6359 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1567, allocations: 0 / 0.6359 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1567, allocations: 7.984 kB / 0.6359 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.1572, allocations: 362.3 kB / 0.6362 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1572, allocations: 4 kB / 0.6362 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.1572, allocations: 4 kB / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1572, allocations: 0 / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1573, allocations: 4 kB / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1573, allocations: 3.938 kB / 0.6363 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1573, allocations: 0 / 0.6363 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.1574, allocations: 179.4 kB / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.1575, allocations: 81.11 kB / 0.6365 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1575, allocations: 8.188 kB / 0.6365 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.1576, allocations: 11.92 kB / 0.6365 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.1576, allocations: 11.92 kB / 0.6365 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.1577, allocations: 8.062 kB / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.1577, allocations: 79.28 kB / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1577, allocations: 7.875 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1579, allocations: 16 kB / 0.6366 GB, free: 15.36 MB / 494.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003947/0.1583, allocations: 0.7124 MB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.1585, allocations: 60.14 kB / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1585, allocations: 0 / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.308e-05/0.1586, allocations: 23.94 kB / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.1588, allocations: 20.11 kB / 0.6374 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.16, allocations: 1.362 MB / 0.6388 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.1603, allocations: 0.6846 MB / 0.6394 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.017e-05/0.1603, allocations: 3.984 kB / 0.6394 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.1604, allocations: 15.44 kB / 0.6395 GB, free: 12.34 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1604, allocations: 8.281 kB / 0.6395 GB, free: 12.33 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.179, allocations: 1.782 MB / 0.6412 GB, free: 10.64 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/7.944, allocations: 14.17 kB / 0.6412 GB, free: 10.63 MB / 494.1 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/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)