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.0007562/0.0007562, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007576/0.0007577, allocations: 175.4 kB / 16.58 MB, free: 6.848 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.315/1.315, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6483/0.6483, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.000302, allocations: 8.719 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.145, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001715/0.1468, allocations: 1.177 MB / 0.558 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006879/0.1475, allocations: 415.3 kB / 0.5584 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.1476, allocations: 4 kB / 0.5584 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.1476, allocations: 0 / 0.5584 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.197e-05/0.1477, allocations: 11.86 kB / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.1478, allocations: 15.98 kB / 0.5585 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.174e-05/0.1479, allocations: 47.86 kB / 0.5585 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.148, allocations: 7.984 kB / 0.5585 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.1481, allocations: 27.91 kB / 0.5585 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.1482, allocations: 15.92 kB / 0.5586 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.1482, allocations: 4 kB / 0.5586 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.1482, allocations: 0 / 0.5586 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.1482, allocations: 11.98 kB / 0.5586 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.1483, allocations: 33.64 kB / 0.5586 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.709e-05/0.1483, allocations: 24.23 kB / 0.5586 GB, free: 9.855 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1484, allocations: 0 / 0.5586 GB, free: 9.855 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1484, allocations: 0 / 0.5586 GB, free: 9.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1484, allocations: 0 / 0.5586 GB, free: 9.855 MB / 430.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.0005098/0.1489, allocations: 355.2 kB / 0.559 GB, free: 9.461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1489, allocations: 12.03 kB / 0.559 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.149, allocations: 34.56 kB / 0.559 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.149, allocations: 7.906 kB / 0.559 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.1492, allocations: 167 kB / 0.5592 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1492, allocations: 3.984 kB / 0.5592 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.1492, allocations: 8 kB / 0.5592 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.1493, allocations: 65.58 kB / 0.5593 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1493, allocations: 0 / 0.5593 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1494, allocations: 0 / 0.5593 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1494, allocations: 0 / 0.5593 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.622e-05/0.1494, allocations: 27.98 kB / 0.5593 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.1499, allocations: 308.7 kB / 0.5596 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1501, allocations: 54.56 kB / 0.5596 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.1501, allocations: 24.94 kB / 0.5597 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.1501, allocations: 3.938 kB / 0.5597 GB, free: 8.641 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.1503, allocations: 75.33 kB / 0.5597 GB, free: 8.555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1503, allocations: 7.938 kB / 0.5597 GB, free: 8.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002399/0.1506, allocations: 101.6 kB / 0.5598 GB, free: 8.441 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.1506, allocations: 51.41 kB / 0.5599 GB, free: 8.379 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.1507, allocations: 109.8 kB / 0.56 GB, free: 8.262 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1507, allocations: 29.7 kB / 0.56 GB, free: 8.227 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.1508, allocations: 84.14 kB / 0.5601 GB, free: 8.141 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.1508, allocations: 23.64 kB / 0.5601 GB, free: 8.117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.1508, allocations: 4 kB / 0.5601 GB, free: 8.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.151, allocations: 318.8 kB / 0.5604 GB, free: 7.793 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.151, allocations: 15.98 kB / 0.5604 GB, free: 7.777 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.506e-05/0.1511, allocations: 51.14 kB / 0.5605 GB, free: 7.719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.751e-05/0.1511, allocations: 32.08 kB / 0.5605 GB, free: 7.688 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1511, allocations: 0 / 0.5605 GB, free: 7.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001403/0.1513, allocations: 97.59 kB / 0.5606 GB, free: 7.586 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1513, allocations: 4 kB / 0.5606 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1513, allocations: 4.031 kB / 0.5606 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1513, allocations: 4 kB / 0.5606 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.1514, allocations: 12 kB / 0.5606 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1514, allocations: 3.938 kB / 0.5606 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.1515, allocations: 15.89 kB / 0.5607 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1515, allocations: 0 / 0.5607 GB, free: 7.543 MB / 430.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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.196e-05/0.1516, allocations: 122.5 kB / 0.5608 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.1516, allocations: 4 kB / 0.5608 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.1516, allocations: 11.97 kB / 0.5608 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1517, allocations: 0 / 0.5608 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1517, allocations: 0 / 0.5608 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1517, allocations: 3.984 kB / 0.5608 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.1521, allocations: 366.7 kB / 0.5611 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1521, allocations: 3.938 kB / 0.5611 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.1521, allocations: 11.94 kB / 0.5612 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1521, allocations: 0 / 0.5612 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.1521, allocations: 4.094 kB / 0.5612 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1521, allocations: 3.938 kB / 0.5612 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1521, allocations: 0 / 0.5612 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.1523, allocations: 183.4 kB / 0.5613 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.1524, allocations: 84.95 kB / 0.5614 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.1524, allocations: 0 / 0.5614 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.1525, allocations: 15.98 kB / 0.5614 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.1525, allocations: 11.98 kB / 0.5614 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1525, allocations: 0 / 0.5614 GB, free: 6.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.954e-05/0.1526, allocations: 79.28 kB / 0.5615 GB, free: 6.555 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1526, allocations: 0 / 0.5615 GB, free: 6.555 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.1528, allocations: 16 kB / 0.5615 GB, free: 6.539 MB / 430.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 (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.0004672/0.1533, allocations: 0.717 MB / 0.5622 GB, free: 5.797 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.1534, allocations: 51.92 kB / 0.5623 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1534, allocations: 0 / 0.5623 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.594e-05/0.1535, allocations: 31.92 kB / 0.5623 GB, free: 5.715 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.1538, allocations: 9.688 kB / 0.5623 GB, free: 5.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.1545, allocations: 477.8 kB / 0.5628 GB, free: 5.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1548, allocations: 0.6923 MB / 0.5635 GB, free: 4.469 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.296e-05/0.1549, allocations: 12.41 kB / 0.5635 GB, free: 4.457 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.1549, allocations: 19.44 kB / 0.5635 GB, free: 4.438 MB / 430.1 MB Notification: Performance of SimCode: time 1.523e-06/0.1549, allocations: 0 / 0.5635 GB, free: 4.438 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01165/0.1666, allocations: 1.478 MB / 0.5649 GB, free: 3.113 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.1668, allocations: 187 kB / 0.5651 GB, free: 2.879 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/1.717, allocations: 4 kB / 0.5651 GB, free: 2.875 MB / 430.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/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) Environment - environmentSimulation: