Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_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.0056/0.0056, allocations: 97.36 kB / 15.73 MB, free: 5.988 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.001646/0.001646, allocations: 188.1 kB / 16.67 MB, free: 5.918 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002616/0.002616, allocations: 283.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.049/1.049, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 91.84 kB / 0.6809 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1574, allocations: 86.97 MB / 0.7659 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002525/0.16, allocations: 1.465 MB / 0.7673 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007413/0.1608, allocations: 443.4 kB / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.1608, allocations: 4 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.1608, allocations: 3.938 kB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.665e-05/0.1609, allocations: 11.92 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.1611, allocations: 19.92 kB / 0.7678 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.389e-05/0.1612, allocations: 47.91 kB / 0.7678 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.977e-05/0.1613, allocations: 15.98 kB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.28e-05/0.1613, allocations: 23.92 kB / 0.7678 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.731e-05/0.1614, allocations: 23.84 kB / 0.7679 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.1614, allocations: 8 kB / 0.7679 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.1614, allocations: 4 kB / 0.7679 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.1615, allocations: 11.94 kB / 0.7679 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.1615, allocations: 19.92 kB / 0.7679 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.1616, allocations: 48.03 kB / 0.768 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1616, allocations: 7.938 kB / 0.768 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1616, allocations: 0 / 0.768 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.1616, allocations: 0 / 0.768 GB, free: 6.828 MB / 0.5606 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.0005076/0.1622, allocations: 363.4 kB / 0.7683 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1622, allocations: 8.031 kB / 0.7683 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.1622, allocations: 38.73 kB / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.1623, allocations: 4.891 kB / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1624, allocations: 168.3 kB / 0.7685 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1624, allocations: 12.31 kB / 0.7685 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.1625, allocations: 4.375 kB / 0.7685 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1626, allocations: 57.8 kB / 0.7686 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1626, allocations: 0 / 0.7686 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1626, allocations: 4 kB / 0.7686 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1626, allocations: 8 kB / 0.7686 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.252e-05/0.1627, allocations: 19.98 kB / 0.7686 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.1632, allocations: 304.7 kB / 0.7689 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.1633, allocations: 50.56 kB / 0.769 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.1633, allocations: 24.95 kB / 0.769 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.1634, allocations: 4 kB / 0.769 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.1635, allocations: 75.41 kB / 0.7691 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.1635, allocations: 0 / 0.7691 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002198/0.1638, allocations: 101.6 kB / 0.7692 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.1638, allocations: 59.77 kB / 0.7692 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.838e-05/0.1639, allocations: 105.8 kB / 0.7693 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1639, allocations: 29.7 kB / 0.7693 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.164, allocations: 92.09 kB / 0.7694 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.164, allocations: 27.73 kB / 0.7695 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.1641, allocations: 29.64 kB / 0.7695 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1642, allocations: 322.8 kB / 0.7698 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/0.1643, allocations: 15.98 kB / 0.7698 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.243e-05/0.1643, allocations: 51.48 kB / 0.7699 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.92e-05/0.1644, allocations: 67.42 kB / 0.7699 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1644, allocations: 0 / 0.7699 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001491/0.1646, allocations: 97.55 kB / 0.77 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.1646, allocations: 4 kB / 0.77 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1646, allocations: 64 / 0.77 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1647, allocations: 8 kB / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.1647, allocations: 15.98 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1647, allocations: 0 / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.385e-05/0.1648, allocations: 11.98 kB / 0.7701 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1648, allocations: 7.938 kB / 0.7701 GB, free: 4.422 MB / 0.5606 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 9.62e-05/0.1649, allocations: 125.9 kB / 0.7702 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.165, allocations: 8 kB / 0.7702 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.165, allocations: 3.969 kB / 0.7702 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.165, allocations: 0 / 0.7702 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.165, allocations: 0 / 0.7702 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.165, allocations: 4 kB / 0.7702 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.1654, allocations: 370.3 kB / 0.7705 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1655, allocations: 0 / 0.7705 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.1655, allocations: 7.984 kB / 0.7706 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1655, allocations: 0 / 0.7706 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1655, allocations: 0 / 0.7706 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1655, allocations: 3.938 kB / 0.7706 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1655, allocations: 7.938 kB / 0.7706 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.1657, allocations: 179.6 kB / 0.7707 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.1658, allocations: 81.16 kB / 0.7708 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1658, allocations: 3.938 kB / 0.7708 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1659, allocations: 15.86 kB / 0.7708 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.166, allocations: 11.94 kB / 0.7708 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.166, allocations: 4 kB / 0.7708 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.033e-05/0.166, allocations: 87.36 kB / 0.7709 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.166, allocations: 0 / 0.7709 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003337/0.1664, allocations: 12 kB / 0.7709 GB, free: 3.418 MB / 0.5606 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.0004913/0.1669, allocations: 0.7242 MB / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.167, allocations: 47.92 kB / 0.7717 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.167, allocations: 0 / 0.7717 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/0.1671, allocations: 31.92 kB / 0.7717 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1674, allocations: 21.86 kB / 0.7717 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.1689, allocations: 1.373 MB / 0.7731 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.1692, allocations: 0.6846 MB / 0.7738 GB, free: 400 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.686e-05/0.1692, allocations: 8.266 kB / 0.7738 GB, free: 392 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.1693, allocations: 19.44 kB / 0.7738 GB, free: 372 kB / 0.5606 GB Notification: Performance of SimCode: time 3.436e-06/0.1693, allocations: 4 kB / 0.7738 GB, free: 368 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.39/2.559, allocations: 1.762 MB / 0.7755 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/14.92, allocations: 7.719 kB / 0.7755 GB, free: 14.39 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)