Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer",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.0008041/0.0008042, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00509/0.00509, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.504/1.504, allocations: 292.7 MB / 0.5502 GB, free: 14.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004386, allocations: 11.44 kB / 0.6744 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1713, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00125/0.1726, allocations: 1.199 MB / 0.7892 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005547/0.1731, allocations: 469 kB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.1732, allocations: 0 / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.1732, allocations: 3.938 kB / 0.7896 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.469e-05/0.1733, allocations: 15.91 kB / 0.7896 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.1734, allocations: 12 kB / 0.7896 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.737e-05/0.1735, allocations: 51.84 kB / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.915e-05/0.1735, allocations: 15.98 kB / 0.7897 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.94e-05/0.1736, allocations: 27.8 kB / 0.7897 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.956e-05/0.1736, allocations: 19.92 kB / 0.7897 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1737, allocations: 0 / 0.7897 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.1737, allocations: 4 kB / 0.7897 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.1737, allocations: 3.984 kB / 0.7897 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.1737, allocations: 49.56 kB / 0.7898 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.763e-05/0.1738, allocations: 44.08 kB / 0.7898 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1738, allocations: 0 / 0.7898 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1738, allocations: 4 kB / 0.7898 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.1738, allocations: 0 / 0.7898 GB, free: 9.535 MB / 0.6075 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.0003864/0.1742, allocations: 347.5 kB / 0.7902 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1743, allocations: 12.03 kB / 0.7902 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.933e-05/0.1743, allocations: 34.73 kB / 0.7902 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.1743, allocations: 8.844 kB / 0.7902 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.551e-05/0.1744, allocations: 172.3 kB / 0.7904 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.1745, allocations: 8.375 kB / 0.7904 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.1745, allocations: 8.359 kB / 0.7904 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.387e-05/0.1746, allocations: 61.8 kB / 0.7905 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1746, allocations: 0 / 0.7905 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1746, allocations: 8 kB / 0.7905 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1746, allocations: 0 / 0.7905 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.202e-05/0.1747, allocations: 23.92 kB / 0.7905 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.1751, allocations: 312.7 kB / 0.7908 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.813e-05/0.1752, allocations: 54.56 kB / 0.7908 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.1752, allocations: 21.05 kB / 0.7909 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-06/0.1752, allocations: 7.875 kB / 0.7909 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.1754, allocations: 71.38 kB / 0.7909 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.1754, allocations: 4 kB / 0.7909 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0001791/0.1756, allocations: 101.5 kB / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1756, allocations: 59.41 kB / 0.7911 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.246e-05/0.1757, allocations: 105.8 kB / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1757, allocations: 29.7 kB / 0.7912 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.1757, allocations: 84.14 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.1758, allocations: 27.64 kB / 0.7913 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.1758, allocations: 21.7 kB / 0.7914 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.1759, allocations: 322.8 kB / 0.7917 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.07e-05/0.1759, allocations: 19.98 kB / 0.7917 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.605e-05/0.176, allocations: 47.36 kB / 0.7917 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.63e-05/0.176, allocations: 63.38 kB / 0.7918 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.176, allocations: 0 / 0.7918 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001177/0.1762, allocations: 89.64 kB / 0.7919 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1762, allocations: 12 kB / 0.7919 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1762, allocations: 0 / 0.7919 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.1762, allocations: 0 / 0.7919 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.491e-05/0.1763, allocations: 11.98 kB / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1763, allocations: 4 kB / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.1763, allocations: 11.84 kB / 0.7919 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1764, allocations: 11.94 kB / 0.7919 GB, free: 7.145 MB / 0.6075 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,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 7.355e-05/0.1764, allocations: 128.9 kB / 0.792 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.1765, allocations: 4 kB / 0.792 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.1765, allocations: 7.969 kB / 0.7921 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1765, allocations: 4 kB / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.1765, allocations: 0 / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.1765, allocations: 0 / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.1768, allocations: 362.3 kB / 0.7924 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1768, allocations: 8 kB / 0.7924 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.1769, allocations: 11.98 kB / 0.7924 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1769, allocations: 0 / 0.7924 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.1769, allocations: 4.406 kB / 0.7924 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1769, allocations: 7.938 kB / 0.7924 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1769, allocations: 0 / 0.7924 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.177, allocations: 183.4 kB / 0.7926 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.1771, allocations: 81.02 kB / 0.7927 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1771, allocations: 12 kB / 0.7927 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.1772, allocations: 11.92 kB / 0.7927 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.1772, allocations: 4 kB / 0.7927 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1772, allocations: 0 / 0.7927 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.1773, allocations: 87.27 kB / 0.7928 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1773, allocations: 0 / 0.7928 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002067/0.1775, allocations: 12 kB / 0.7928 GB, free: 6.133 MB / 0.6075 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 (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.0003388/0.1778, allocations: 0.7231 MB / 0.7935 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.1779, allocations: 51.92 kB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1779, allocations: 0 / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.524e-05/0.178, allocations: 27.92 kB / 0.7936 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.1782, allocations: 15.92 kB / 0.7936 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1793, allocations: 1.386 MB / 0.795 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.1795, allocations: 0.6964 MB / 0.7956 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.1795, allocations: 7.984 kB / 0.7957 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1795, allocations: 15.44 kB / 0.7957 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.1796, allocations: 0 / 0.7957 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1181/0.2976, allocations: 1.463 MB / 0.7971 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.2979, allocations: 203.2 kB / 0.7973 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.008, allocations: 3.938 kB / 0.7973 GB, free: 1.449 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)