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.001368/0.001368, allocations: 107.4 kB / 15.99 MB, free: 6.348 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.001122/0.001122, allocations: 199 kB / 16.91 MB, free: 6.188 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.477/1.477, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8882/0.8882, allocations: 135.1 MB / 425.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 59.91 kB / 0.5055 GB, free: 8.781 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4592, allocations: 80.92 MB / 0.5845 GB, free: 25.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002628/0.4618, allocations: 1.517 MB / 0.586 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006323/0.4625, allocations: 442.2 kB / 0.5864 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.4625, allocations: 1.438 kB / 0.5864 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.4626, allocations: 4.75 kB / 0.5864 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.358e-05/0.4627, allocations: 5.578 kB / 0.5864 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.4629, allocations: 26.36 kB / 0.5864 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.726e-05/0.463, allocations: 51.81 kB / 0.5865 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.4631, allocations: 9.719 kB / 0.5865 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.4631, allocations: 31.62 kB / 0.5865 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.4632, allocations: 23.16 kB / 0.5866 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.4632, allocations: 3.875 kB / 0.5866 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.4633, allocations: 5.375 kB / 0.5866 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.4633, allocations: 5.344 kB / 0.5866 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.4633, allocations: 28.61 kB / 0.5866 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.84e-05/0.4634, allocations: 23.77 kB / 0.5866 GB, free: 23.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4634, allocations: 4 kB / 0.5866 GB, free: 23.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4634, allocations: 1.562 kB / 0.5866 GB, free: 23.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.4634, allocations: 1.344 kB / 0.5866 GB, free: 23.53 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.0004773/0.4639, allocations: 359.3 kB / 0.587 GB, free: 23.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.464, allocations: 11.08 kB / 0.587 GB, free: 23.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.464, allocations: 8.562 kB / 0.587 GB, free: 23.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.4641, allocations: 172.5 kB / 0.5872 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.4642, allocations: 1.969 kB / 0.5872 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.4642, allocations: 7.875 kB / 0.5872 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.4643, allocations: 68.23 kB / 0.5872 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4643, allocations: 1.75 kB / 0.5872 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4643, allocations: 0 / 0.5872 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4643, allocations: 1.906 kB / 0.5872 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.04e-05/0.4644, allocations: 27.14 kB / 0.5873 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.4649, allocations: 306.6 kB / 0.5876 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.465, allocations: 55.72 kB / 0.5876 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.465, allocations: 24.73 kB / 0.5876 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.4651, allocations: 0.5 kB / 0.5876 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.4652, allocations: 77.34 kB / 0.5877 GB, free: 22.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.4652, allocations: 1.625 kB / 0.5877 GB, free: 22.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002209/0.4655, allocations: 105.3 kB / 0.5878 GB, free: 22.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.4655, allocations: 53.44 kB / 0.5879 GB, free: 22.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.012e-05/0.4656, allocations: 110.7 kB / 0.588 GB, free: 22.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.4656, allocations: 32.33 kB / 0.588 GB, free: 22.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.4656, allocations: 85.55 kB / 0.5881 GB, free: 22.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.4657, allocations: 18.14 kB / 0.5881 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.4657, allocations: 30.7 kB / 0.5881 GB, free: 22.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.721e-05/0.4658, allocations: 318.9 kB / 0.5884 GB, free: 21.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.554e-05/0.4658, allocations: 22.08 kB / 0.5884 GB, free: 21.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-05/0.4659, allocations: 44.39 kB / 0.5885 GB, free: 21.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.312e-05/0.4659, allocations: 68.61 kB / 0.5886 GB, free: 21.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.466, allocations: 1.625 kB / 0.5886 GB, free: 21.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001245/0.4661, allocations: 94.28 kB / 0.5886 GB, free: 21.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4661, allocations: 6.75 kB / 0.5887 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4661, allocations: 1.625 kB / 0.5887 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4661, allocations: 5.219 kB / 0.5887 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.515e-05/0.4662, allocations: 12.36 kB / 0.5887 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.4662, allocations: 1.219 kB / 0.5887 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.4663, allocations: 9.719 kB / 0.5887 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.4663, allocations: 7.75 kB / 0.5887 GB, free: 21.52 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 7.347e-05/0.4664, allocations: 129.5 kB / 0.5888 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.4664, allocations: 6.25 kB / 0.5888 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.4664, allocations: 9.125 kB / 0.5888 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4665, allocations: 2.062 kB / 0.5888 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4665, allocations: 4 kB / 0.5888 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.4665, allocations: 5.406 kB / 0.5888 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.4668, allocations: 353.6 kB / 0.5892 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4668, allocations: 0 / 0.5892 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.4668, allocations: 8.516 kB / 0.5892 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4668, allocations: 0 / 0.5892 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.4669, allocations: 2.375 kB / 0.5892 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.4669, allocations: 3.938 kB / 0.5892 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4669, allocations: 2.094 kB / 0.5892 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.467, allocations: 183.6 kB / 0.5894 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.4671, allocations: 80.14 kB / 0.5894 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.4671, allocations: 5.312 kB / 0.5894 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.4672, allocations: 11.7 kB / 0.5895 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.4672, allocations: 4.156 kB / 0.5895 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.4672, allocations: 7.547 kB / 0.5895 GB, free: 20.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.953e-05/0.4673, allocations: 87.67 kB / 0.5896 GB, free: 20.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4673, allocations: 3.938 kB / 0.5896 GB, free: 20.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.4675, allocations: 16.22 kB / 0.5896 GB, free: 20.66 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 8.077e-05/0.4676, allocations: 95.19 kB / 0.5897 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.4677, allocations: 68.28 kB / 0.5897 GB, free: 20.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4677, allocations: 0 / 0.5897 GB, free: 20.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.581e-05/0.4678, allocations: 25.22 kB / 0.5898 GB, free: 20.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.4681, allocations: 13.23 kB / 0.5898 GB, free: 20.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.4685, allocations: 194.6 kB / 0.5899 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.4686, allocations: 0.6876 MB / 0.5906 GB, free: 19.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.4687, allocations: 13.28 kB / 0.5906 GB, free: 19.63 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.4687, allocations: 0 / 0.5906 GB, free: 19.63 MB / 446.1 MB Notification: Performance of Templates: time 0.002499/0.4712, allocations: 0.8671 MB / 0.5915 GB, free: 19.22 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)