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.002105/0.002105, allocations: 107.8 kB / 16.41 MB, free: 6.488 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.002378/0.002378, allocations: 187 kB / 17.34 MB, free: 5.73 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.59/1.59, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8904/0.8904, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 60.56 kB / 0.5862 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2009, allocations: 80.92 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003108/0.2041, allocations: 1.461 MB / 0.6667 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008005/0.2049, allocations: 458.8 kB / 0.6671 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.205, allocations: 0 / 0.6671 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.2051, allocations: 3.938 kB / 0.6671 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.424e-05/0.2051, allocations: 3.938 kB / 0.6671 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.2053, allocations: 23.91 kB / 0.6672 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.808e-05/0.2054, allocations: 43.92 kB / 0.6672 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.2056, allocations: 27.97 kB / 0.6672 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.36e-05/0.2057, allocations: 23.86 kB / 0.6672 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.666e-05/0.2058, allocations: 19.92 kB / 0.6673 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.2058, allocations: 4 kB / 0.6673 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.2058, allocations: 4 kB / 0.6673 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.2058, allocations: 15.92 kB / 0.6673 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.2059, allocations: 19.92 kB / 0.6673 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.206, allocations: 47.75 kB / 0.6674 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.206, allocations: 0 / 0.6674 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.206, allocations: 3.938 kB / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.2061, allocations: 4 kB / 0.6674 GB, free: 3.664 MB / 0.4981 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.0005818/0.2066, allocations: 355.5 kB / 0.6677 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2067, allocations: 9.109 kB / 0.6677 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.2067, allocations: 4.938 kB / 0.6677 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.2069, allocations: 180.2 kB / 0.6679 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.2069, allocations: 8.359 kB / 0.6679 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.2069, allocations: 4.375 kB / 0.6679 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.2071, allocations: 58 kB / 0.668 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2071, allocations: 4 kB / 0.668 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.2071, allocations: 0 / 0.668 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2071, allocations: 0 / 0.668 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.841e-05/0.2072, allocations: 31.92 kB / 0.668 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.2077, allocations: 292.8 kB / 0.6683 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.2078, allocations: 54.59 kB / 0.6683 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.2079, allocations: 36.94 kB / 0.6684 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.2079, allocations: 0 / 0.6684 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.2081, allocations: 71.3 kB / 0.6684 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.2081, allocations: 0 / 0.6684 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000246/0.2084, allocations: 97.61 kB / 0.6685 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.2084, allocations: 55.39 kB / 0.6686 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.2085, allocations: 113.8 kB / 0.6687 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.2086, allocations: 26.08 kB / 0.6687 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.2086, allocations: 92.05 kB / 0.6688 GB, free: 2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.2087, allocations: 27.64 kB / 0.6688 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.2087, allocations: 25.66 kB / 0.6688 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2088, allocations: 326.7 kB / 0.6692 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.863e-05/0.2089, allocations: 16 kB / 0.6692 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-05/0.2089, allocations: 51.36 kB / 0.6692 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.505e-05/0.209, allocations: 71.36 kB / 0.6693 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.209, allocations: 0 / 0.6693 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001482/0.2092, allocations: 89.89 kB / 0.6694 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2092, allocations: 8 kB / 0.6694 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2092, allocations: 0 / 0.6694 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2092, allocations: 0 / 0.6694 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.2093, allocations: 16.03 kB / 0.6694 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.2093, allocations: 7.938 kB / 0.6694 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.831e-05/0.2094, allocations: 15.88 kB / 0.6694 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.2094, allocations: 4 kB / 0.6694 GB, free: 1.309 MB / 0.4981 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.255e-05/0.2095, allocations: 117.8 kB / 0.6695 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.2095, allocations: 4 kB / 0.6695 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.2096, allocations: 7.969 kB / 0.6695 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2096, allocations: 0 / 0.6695 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2096, allocations: 0 / 0.6695 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2096, allocations: 7.984 kB / 0.6696 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.21, allocations: 370.3 kB / 0.6699 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.21, allocations: 0 / 0.6699 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.993e-05/0.2101, allocations: 4 kB / 0.6699 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2101, allocations: 3.938 kB / 0.6699 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.2101, allocations: 0 / 0.6699 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2101, allocations: 3.938 kB / 0.6699 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2101, allocations: 0 / 0.6699 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.2103, allocations: 183.5 kB / 0.6701 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.2103, allocations: 85.02 kB / 0.6702 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.2104, allocations: 4.125 kB / 0.6702 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.2105, allocations: 15.98 kB / 0.6702 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.2105, allocations: 15.92 kB / 0.6702 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.2105, allocations: 0 / 0.6702 GB, free: 412 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.2106, allocations: 79.28 kB / 0.6703 GB, free: 332 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2106, allocations: 0 / 0.6703 GB, free: 332 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002344/0.2108, allocations: 20 kB / 0.6703 GB, free: 312 kB / 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.0001067/0.2109, allocations: 100.6 kB / 0.6704 GB, free: 204 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.2111, allocations: 51.92 kB / 0.6704 GB, free: 152 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2111, allocations: 0 / 0.6704 GB, free: 152 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.62e-05/0.2111, allocations: 35.92 kB / 0.6705 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.2114, allocations: 4 kB / 0.6705 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.2119, allocations: 183.5 kB / 0.6707 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.2121, allocations: 0.6885 MB / 0.6713 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.2122, allocations: 11.44 kB / 0.6713 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.2122, allocations: 0 / 0.6713 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.002733/0.2149, allocations: 0.8735 MB / 0.6722 GB, free: 14.29 MB / 0.5137 GB 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)