Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_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.0009946/0.0009947, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001152/0.001152, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8567/0.8567, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003523, allocations: 11.98 kB / 0.5035 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5185/0.5189, allocations: 81.57 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001733/0.5207, allocations: 1.176 MB / 0.5843 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007026/0.5214, allocations: 427.3 kB / 0.5847 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.5215, allocations: 4.688 kB / 0.5847 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.5215, allocations: 0.7031 kB / 0.5847 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.041e-05/0.5216, allocations: 6.766 kB / 0.5847 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.5218, allocations: 19.97 kB / 0.5847 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.41e-05/0.5219, allocations: 44.72 kB / 0.5848 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.522, allocations: 16.59 kB / 0.5848 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.522, allocations: 12.36 kB / 0.5848 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.5221, allocations: 18.97 kB / 0.5848 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.5221, allocations: 5.438 kB / 0.5848 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.5222, allocations: 2.312 kB / 0.5848 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.5222, allocations: 8.188 kB / 0.5848 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.5222, allocations: 43.42 kB / 0.5849 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.307e-05/0.5223, allocations: 26.39 kB / 0.5849 GB, free: 2.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5223, allocations: 0 / 0.5849 GB, free: 2.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5223, allocations: 1.312 kB / 0.5849 GB, free: 2.734 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.5223, allocations: 0 / 0.5849 GB, free: 2.734 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.0004854/0.5228, allocations: 355.9 kB / 0.5852 GB, free: 2.371 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.5229, allocations: 10.19 kB / 0.5852 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.5229, allocations: 37.33 kB / 0.5853 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.523, allocations: 11.55 kB / 0.5853 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.464e-05/0.5231, allocations: 162.6 kB / 0.5854 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.5231, allocations: 7.25 kB / 0.5855 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.5231, allocations: 9.094 kB / 0.5855 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.5232, allocations: 52.14 kB / 0.5855 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.5233, allocations: 0.6562 kB / 0.5855 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.5233, allocations: 9.125 kB / 0.5855 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.5233, allocations: 1 kB / 0.5855 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.29e-05/0.5234, allocations: 26.16 kB / 0.5855 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.5238, allocations: 312.1 kB / 0.5858 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.5239, allocations: 57.77 kB / 0.5859 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.524, allocations: 27.22 kB / 0.5859 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.524, allocations: 0 / 0.5859 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.5242, allocations: 74.48 kB / 0.586 GB, free: 1.652 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.5242, allocations: 0 / 0.586 GB, free: 1.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002312/0.5244, allocations: 107.9 kB / 0.5861 GB, free: 1.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.5245, allocations: 58.42 kB / 0.5862 GB, free: 1.523 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.5246, allocations: 102.9 kB / 0.5863 GB, free: 1.422 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.5246, allocations: 31.16 kB / 0.5863 GB, free: 1.387 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.5246, allocations: 87.09 kB / 0.5864 GB, free: 1.301 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.5247, allocations: 20.34 kB / 0.5864 GB, free: 1.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.5247, allocations: 4.75 kB / 0.5864 GB, free: 1.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.154e-05/0.5247, allocations: 314.8 kB / 0.5867 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.861e-05/0.5248, allocations: 20.11 kB / 0.5867 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.315e-05/0.5248, allocations: 47.22 kB / 0.5868 GB, free: 0.918 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.5249, allocations: 24.31 kB / 0.5868 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5249, allocations: 0 / 0.5868 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001433/0.525, allocations: 96.72 kB / 0.5869 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5251, allocations: 5.922 kB / 0.5869 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.5251, allocations: 1.25 kB / 0.5869 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.5251, allocations: 5.641 kB / 0.5869 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.5252, allocations: 18.55 kB / 0.5869 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.5252, allocations: 1.578 kB / 0.5869 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.5253, allocations: 12.88 kB / 0.5869 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.5253, allocations: 7.156 kB / 0.5869 GB, free: 0.8281 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 7.338e-05/0.5254, allocations: 120.9 kB / 0.587 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.5254, allocations: 7.234 kB / 0.587 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.5254, allocations: 9.312 kB / 0.5871 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.5254, allocations: 5.016 kB / 0.5871 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5254, allocations: 5.922 kB / 0.5871 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5254, allocations: 0.5625 kB / 0.5871 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.5258, allocations: 355.8 kB / 0.5874 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5258, allocations: 480 / 0.5874 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.702e-05/0.5258, allocations: 9.109 kB / 0.5874 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5259, allocations: 3.953 kB / 0.5874 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.5259, allocations: 4.938 kB / 0.5874 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.5259, allocations: 1.719 kB / 0.5874 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5259, allocations: 3.938 kB / 0.5874 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.526, allocations: 183 kB / 0.5876 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.5261, allocations: 78.45 kB / 0.5877 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.5261, allocations: 6.375 kB / 0.5877 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.5262, allocations: 11.34 kB / 0.5877 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.5262, allocations: 12 kB / 0.5877 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.5263, allocations: 2.781 kB / 0.5877 GB, free: 88 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.755e-05/0.5263, allocations: 84.09 kB / 0.5878 GB, free: 8 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5263, allocations: 1.125 kB / 0.5878 GB, free: 8 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.5265, allocations: 11.61 kB / 0.5878 GB, free: 8 kB / 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.0005309/0.5271, allocations: 0.7147 MB / 0.5885 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.5272, allocations: 49.62 kB / 0.5885 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5272, allocations: 4 kB / 0.5885 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.5273, allocations: 27.42 kB / 0.5886 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.5276, allocations: 11.69 kB / 0.5886 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.5288, allocations: 0.4975 MB / 0.5891 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.5292, allocations: 0.6885 MB / 0.5897 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.754e-05/0.5292, allocations: 8.906 kB / 0.5897 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.5293, allocations: 17.02 kB / 0.5898 GB, free: 14.17 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5293, allocations: 0 / 0.5898 GB, free: 14.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.5446, allocations: 1.461 MB / 0.5912 GB, free: 14 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.5449, allocations: 168.9 kB / 0.5914 GB, free: 13.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.362, allocations: 3.938 kB / 0.5914 GB, free: 13.76 MB / 446.1 MB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) Environment - environmentSimulation: