Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.446/1.446, allocations: 287.4 MB / 302.6 MB, free: 8.359 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.0009843/0.0009843, allocations: 189.2 kB / 371.1 MB, free: 10.84 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.165/1.165, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006976/0.0006976, allocations: 99.91 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004917, allocations: 10.59 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1588, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001102/0.1599, allocations: 1.18 MB / 0.9799 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004987/0.1604, allocations: 464.1 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.814e-05/0.1605, allocations: 4 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.1605, allocations: 3.938 kB / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.203e-05/0.1605, allocations: 0 / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.1607, allocations: 15.92 kB / 0.9803 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.617e-05/0.1607, allocations: 51.84 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.965e-05/0.1608, allocations: 11.98 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.382e-05/0.1608, allocations: 19.92 kB / 0.9804 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.803e-05/0.1609, allocations: 15.92 kB / 0.9804 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.1609, allocations: 4 kB / 0.9804 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-06/0.1609, allocations: 4 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.1609, allocations: 7.984 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.161, allocations: 33.7 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.74e-05/0.161, allocations: 32.17 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.161, allocations: 0 / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.161, allocations: 3.938 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.161, allocations: 3.938 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB 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.000321/0.1614, allocations: 355.5 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.1614, allocations: 8.031 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.543e-05/0.1614, allocations: 30.75 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.068e-05/0.1615, allocations: 8.844 kB / 0.9809 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.635e-05/0.1615, allocations: 180.3 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.1616, allocations: 384 / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.1616, allocations: 4.375 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.898e-05/0.1616, allocations: 61.75 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1617, allocations: 3.938 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.1617, allocations: 7.984 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1617, allocations: 4 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.548e-05/0.1617, allocations: 23.98 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.1621, allocations: 304.7 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.569e-05/0.1621, allocations: 58.62 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/0.1622, allocations: 24.88 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.1622, allocations: 0 / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.1623, allocations: 71.42 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1623, allocations: 0 / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0001574/0.1625, allocations: 97.61 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.1625, allocations: 55.41 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.541e-05/0.1626, allocations: 117.7 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.1626, allocations: 25.7 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.965e-05/0.1626, allocations: 88.14 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.1626, allocations: 31.62 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.1626, allocations: 0 / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.255e-05/0.1627, allocations: 318.8 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.1627, allocations: 19.98 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/0.1627, allocations: 55.3 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.939e-05/0.1628, allocations: 59.38 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1628, allocations: 4 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001007/0.1629, allocations: 89.61 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.1629, allocations: 4 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1629, allocations: 0 / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.163, allocations: 8.031 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.325e-05/0.163, allocations: 19.98 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.163, allocations: 384 / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.622e-05/0.1631, allocations: 15.91 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1631, allocations: 7.938 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB 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 4.717e-05/0.1631, allocations: 123.1 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.1632, allocations: 3.938 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.1632, allocations: 11.97 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1632, allocations: 7.938 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.1632, allocations: 0 / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1632, allocations: 0 / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.1635, allocations: 362.3 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1635, allocations: 0 / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.1635, allocations: 7.984 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1635, allocations: 0 / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1635, allocations: 12 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1635, allocations: 7.922 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1635, allocations: 0 / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.571e-05/0.1636, allocations: 176.3 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.1637, allocations: 85.02 kB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.1637, allocations: 4 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.1637, allocations: 12.2 kB / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.1638, allocations: 8 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1638, allocations: 3.984 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.778e-05/0.1638, allocations: 87.27 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1638, allocations: 0 / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001869/0.164, allocations: 16 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB 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.000217/0.1642, allocations: 0.7203 MB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.201e-05/0.1643, allocations: 51.92 kB / 0.9842 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1643, allocations: 0 / 0.9842 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.88e-05/0.1644, allocations: 27.92 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.1646, allocations: 19.92 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/0.1652, allocations: 494.5 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.523e-05/0.1653, allocations: 0.6848 MB / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.347e-05/0.1653, allocations: 7.984 kB / 0.9854 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.1653, allocations: 15.44 kB / 0.9854 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.1653, allocations: 0 / 0.9854 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/0.2729, allocations: 1.461 MB / 0.9869 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001306/0.273, allocations: 182.4 kB / 0.987 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.173, allocations: 0 / 0.987 GB, free: 19.19 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)