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: translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 105.1 kB / 16.35 MB, free: 5.824 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.001532/0.001532, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8118/0.8118, allocations: 135.1 MB / 426.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001205, allocations: 67.89 kB / 0.5067 GB, free: 7.715 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4261, allocations: 80.91 MB / 0.5858 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002752/0.4289, allocations: 1.456 MB / 0.5872 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006762/0.4296, allocations: 449.8 kB / 0.5876 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.753e-05/0.4296, allocations: 1.781 kB / 0.5876 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.4297, allocations: 5 kB / 0.5876 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.9e-05/0.4298, allocations: 5.406 kB / 0.5876 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.4299, allocations: 35.67 kB / 0.5876 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.43, allocations: 53.56 kB / 0.5877 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.4302, allocations: 9.438 kB / 0.5877 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.361e-05/0.4302, allocations: 20.05 kB / 0.5877 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.4303, allocations: 17.98 kB / 0.5877 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.4303, allocations: 9.047 kB / 0.5878 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.4304, allocations: 4.125 kB / 0.5878 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.4304, allocations: 15.17 kB / 0.5878 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.806e-05/0.4304, allocations: 27.05 kB / 0.5878 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.4305, allocations: 34.86 kB / 0.5878 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4306, allocations: 8.969 kB / 0.5878 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4306, allocations: 0 / 0.5878 GB, free: 23.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.4306, allocations: 0.625 kB / 0.5878 GB, free: 23.8 MB / 446.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.0005087/0.4311, allocations: 365.8 kB / 0.5882 GB, free: 23.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4311, allocations: 10.11 kB / 0.5882 GB, free: 23.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.4312, allocations: 8.656 kB / 0.5882 GB, free: 23.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.4313, allocations: 170.5 kB / 0.5884 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.4313, allocations: 7.031 kB / 0.5884 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.4314, allocations: 5.344 kB / 0.5884 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.4315, allocations: 55.22 kB / 0.5884 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.4315, allocations: 1.844 kB / 0.5884 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.4315, allocations: 3.984 kB / 0.5884 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4315, allocations: 2.625 kB / 0.5884 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.269e-05/0.4316, allocations: 30.8 kB / 0.5885 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.432, allocations: 301.4 kB / 0.5888 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.4321, allocations: 58.28 kB / 0.5888 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.4322, allocations: 30.75 kB / 0.5888 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.4322, allocations: 0 / 0.5888 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.4324, allocations: 69.86 kB / 0.5889 GB, free: 22.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.4324, allocations: 0.875 kB / 0.5889 GB, free: 22.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002356/0.4326, allocations: 101.5 kB / 0.589 GB, free: 22.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.4326, allocations: 55.47 kB / 0.5891 GB, free: 22.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.4327, allocations: 111.9 kB / 0.5892 GB, free: 22.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.4327, allocations: 31.73 kB / 0.5892 GB, free: 22.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.4328, allocations: 85.8 kB / 0.5893 GB, free: 22.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.4328, allocations: 19.92 kB / 0.5893 GB, free: 22.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.4329, allocations: 31.75 kB / 0.5893 GB, free: 22.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.434e-05/0.4329, allocations: 324 kB / 0.5896 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-05/0.433, allocations: 14.06 kB / 0.5896 GB, free: 21.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/0.433, allocations: 49.39 kB / 0.5897 GB, free: 21.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.435e-05/0.4331, allocations: 73.17 kB / 0.5898 GB, free: 21.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4331, allocations: 1.812 kB / 0.5898 GB, free: 21.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001376/0.4333, allocations: 94.83 kB / 0.5899 GB, free: 21.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4333, allocations: 5.719 kB / 0.5899 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4333, allocations: 0 / 0.5899 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.4333, allocations: 3.938 kB / 0.5899 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.796e-05/0.4334, allocations: 11.53 kB / 0.5899 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4334, allocations: 1.344 kB / 0.5899 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.4335, allocations: 17.67 kB / 0.5899 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.4335, allocations: 2.375 kB / 0.5899 GB, free: 21.79 MB / 446.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.025e-05/0.4336, allocations: 122 kB / 0.59 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.4336, allocations: 6.406 kB / 0.59 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.4337, allocations: 9.094 kB / 0.59 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4337, allocations: 2.219 kB / 0.59 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4337, allocations: 0 / 0.59 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4337, allocations: 5.359 kB / 0.59 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.4341, allocations: 356.2 kB / 0.5904 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4341, allocations: 6.281 kB / 0.5904 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.4341, allocations: 3.906 kB / 0.5904 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4341, allocations: 0 / 0.5904 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4341, allocations: 5.375 kB / 0.5904 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.4341, allocations: 5.094 kB / 0.5904 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4341, allocations: 0 / 0.5904 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.4343, allocations: 184.3 kB / 0.5906 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.4344, allocations: 82.02 kB / 0.5907 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.4344, allocations: 0 / 0.5907 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.4345, allocations: 15.39 kB / 0.5907 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.4345, allocations: 12.11 kB / 0.5907 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.4345, allocations: 2.438 kB / 0.5907 GB, free: 21.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.181e-05/0.4346, allocations: 84.27 kB / 0.5908 GB, free: 20.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4346, allocations: 0 / 0.5908 GB, free: 20.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.4348, allocations: 18.5 kB / 0.5908 GB, free: 20.94 MB / 446.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 (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.000109/0.4349, allocations: 99.72 kB / 0.5909 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.4351, allocations: 52.95 kB / 0.5909 GB, free: 20.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4351, allocations: 9.5 kB / 0.5909 GB, free: 20.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.878e-05/0.4352, allocations: 25.89 kB / 0.591 GB, free: 20.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.4355, allocations: 11.5 kB / 0.591 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.4359, allocations: 157 kB / 0.5911 GB, free: 20.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.436, allocations: 0.6872 MB / 0.5918 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.844e-05/0.436, allocations: 8.125 kB / 0.5918 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.4361, allocations: 12.12 kB / 0.5918 GB, free: 19.95 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4361, allocations: 0 / 0.5918 GB, free: 19.95 MB / 446.1 MB Notification: Performance of Templates: time 0.002883/0.439, allocations: 0.7758 MB / 0.5926 GB, free: 19.21 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (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 & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)