Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_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.001286/0.001286, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001705/0.001705, allocations: 199.6 kB / 16.26 MB, free: 6.621 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.406/1.406, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9396/0.9396, allocations: 135.1 MB / 425.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 77.06 kB / 0.505 GB, free: 5.535 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.167, allocations: 80.93 MB / 0.584 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.00289/0.17, allocations: 1.511 MB / 0.5855 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007759/0.1708, allocations: 439 kB / 0.5859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.1709, allocations: 0 / 0.5859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.789e-05/0.1709, allocations: 3.938 kB / 0.5859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.853e-05/0.171, allocations: 0 / 0.5859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.1712, allocations: 27.91 kB / 0.5859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.689e-05/0.1713, allocations: 55.84 kB / 0.586 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1714, allocations: 8 kB / 0.586 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.818e-05/0.1715, allocations: 23.92 kB / 0.586 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.1715, allocations: 15.92 kB / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1715, allocations: 7.938 kB / 0.586 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.1716, allocations: 4 kB / 0.586 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.1716, allocations: 19.97 kB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.1716, allocations: 23.86 kB / 0.5861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.1718, allocations: 40.11 kB / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1718, allocations: 0 / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1718, allocations: 4 kB / 0.5861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1718, allocations: 0 / 0.5861 GB, free: 2.582 MB / 494.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.0005622/0.1724, allocations: 363.4 kB / 0.5865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1724, allocations: 8.031 kB / 0.5865 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.1725, allocations: 34.75 kB / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.1725, allocations: 16.83 kB / 0.5865 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1726, allocations: 168.3 kB / 0.5867 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1727, allocations: 8.359 kB / 0.5867 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1727, allocations: 8.312 kB / 0.5867 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1728, allocations: 65.73 kB / 0.5868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1728, allocations: 4 kB / 0.5868 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1728, allocations: 4 kB / 0.5868 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1728, allocations: 0 / 0.5868 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.161e-05/0.1729, allocations: 19.98 kB / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.1734, allocations: 312.6 kB / 0.5871 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.1735, allocations: 50.58 kB / 0.5871 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.1736, allocations: 24.94 kB / 0.5872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.1736, allocations: 0 / 0.5872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.1738, allocations: 79.41 kB / 0.5872 GB, free: 1.266 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1738, allocations: 0 / 0.5872 GB, free: 1.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002205/0.174, allocations: 97.81 kB / 0.5873 GB, free: 1.164 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1741, allocations: 59.39 kB / 0.5874 GB, free: 1.094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.1741, allocations: 105.9 kB / 0.5875 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1742, allocations: 25.8 kB / 0.5875 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.1742, allocations: 99.97 kB / 0.5876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1743, allocations: 15.75 kB / 0.5876 GB, free: 0.832 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.1743, allocations: 33.7 kB / 0.5876 GB, free: 0.793 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.1744, allocations: 314.8 kB / 0.5879 GB, free: 488 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/0.1744, allocations: 19.98 kB / 0.588 GB, free: 468 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.018e-05/0.1745, allocations: 47.42 kB / 0.588 GB, free: 408 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.315e-05/0.1746, allocations: 63.38 kB / 0.5881 GB, free: 332 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1746, allocations: 0 / 0.5881 GB, free: 332 kB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001343/0.1747, allocations: 101.5 kB / 0.5882 GB, free: 224 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1748, allocations: 4 kB / 0.5882 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1748, allocations: 4 kB / 0.5882 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1748, allocations: 4.312 kB / 0.5882 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.1749, allocations: 11.98 kB / 0.5882 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1749, allocations: 3.938 kB / 0.5882 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.188e-05/0.1749, allocations: 8 kB / 0.5882 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.175, allocations: 7.938 kB / 0.5882 GB, free: 180 kB / 494.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 9.009e-05/0.1751, allocations: 125.8 kB / 0.5883 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.1751, allocations: 7.891 kB / 0.5883 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.1751, allocations: 7.969 kB / 0.5883 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1751, allocations: 8.062 kB / 0.5884 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1751, allocations: 4 kB / 0.5884 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1751, allocations: 0 / 0.5884 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.1755, allocations: 354.4 kB / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1755, allocations: 0 / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-05/0.1756, allocations: 4 kB / 0.5887 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1756, allocations: 0 / 0.5887 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1756, allocations: 7.984 kB / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1756, allocations: 3.938 kB / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1756, allocations: 4 kB / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.1758, allocations: 183.4 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.1758, allocations: 85.03 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.1758, allocations: 4 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.1759, allocations: 11.94 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.176, allocations: 7.984 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.176, allocations: 0 / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.176, allocations: 91.27 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.176, allocations: 3.938 kB / 0.5891 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000237/0.1763, allocations: 12 kB / 0.5891 GB, free: 15.16 MB / 0.4981 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.0003924/0.1767, allocations: 0.7163 MB / 0.5898 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.1768, allocations: 55.92 kB / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1768, allocations: 0 / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.33e-05/0.1769, allocations: 31.92 kB / 0.5899 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.1772, allocations: 11.94 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1784, allocations: 1.382 MB / 0.5912 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.1786, allocations: 0.6885 MB / 0.5919 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.1786, allocations: 4 kB / 0.5919 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.1787, allocations: 19.38 kB / 0.5919 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.1787, allocations: 3.938 kB / 0.5919 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1258/0.3045, allocations: 1.584 MB / 0.5935 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/0.3048, allocations: 194.3 kB / 0.5937 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.15, allocations: 4.062 kB / 0.5937 GB, free: 10.39 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)