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.001791/0.001791, allocations: 110.2 kB / 16.41 MB, free: 5.965 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.001605/0.001605, allocations: 186.8 kB / 17.35 MB, free: 5.578 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.541/1.541, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8381/0.8381, allocations: 135.1 MB / 426.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 68.02 kB / 0.5862 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2158, allocations: 80.93 MB / 0.6653 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003891/0.2198, allocations: 1.462 MB / 0.6667 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.2209, allocations: 450.8 kB / 0.6671 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.2209, allocations: 0 / 0.6671 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.153e-05/0.221, allocations: 3.938 kB / 0.6671 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2211, allocations: 11.92 kB / 0.6671 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.2214, allocations: 27.91 kB / 0.6672 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.2215, allocations: 43.92 kB / 0.6672 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.2217, allocations: 19.98 kB / 0.6672 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.175e-05/0.2218, allocations: 27.84 kB / 0.6673 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.2218, allocations: 15.92 kB / 0.6673 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.2219, allocations: 4 kB / 0.6673 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.2219, allocations: 4 kB / 0.6673 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.2219, allocations: 19.92 kB / 0.6673 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.877e-05/0.222, allocations: 15.94 kB / 0.6673 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.2222, allocations: 51.73 kB / 0.6674 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.2222, allocations: 7.938 kB / 0.6674 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.996e-06/0.2222, allocations: 4 kB / 0.6674 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.2222, allocations: 0 / 0.6674 GB, free: 3.777 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.0007013/0.2229, allocations: 355.4 kB / 0.6677 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.223, allocations: 9.109 kB / 0.6677 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.223, allocations: 8.891 kB / 0.6677 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.2232, allocations: 172.3 kB / 0.6679 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.2233, allocations: 4.375 kB / 0.6679 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.2233, allocations: 8.359 kB / 0.6679 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.2234, allocations: 62 kB / 0.668 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2235, allocations: 0 / 0.668 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.2235, allocations: 0 / 0.668 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2235, allocations: 0 / 0.668 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.362e-05/0.2236, allocations: 31.92 kB / 0.668 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006768/0.2243, allocations: 296.8 kB / 0.6683 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.2244, allocations: 62.59 kB / 0.6683 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.2245, allocations: 28.94 kB / 0.6684 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.2245, allocations: 0 / 0.6684 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/0.2247, allocations: 67.39 kB / 0.6684 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.2247, allocations: 0 / 0.6684 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0003452/0.2251, allocations: 101.6 kB / 0.6685 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.2251, allocations: 55.41 kB / 0.6686 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.2252, allocations: 110.2 kB / 0.6687 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.2253, allocations: 33.7 kB / 0.6687 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.2254, allocations: 84.09 kB / 0.6688 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.2254, allocations: 27.81 kB / 0.6688 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.2255, allocations: 29.66 kB / 0.6689 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.2257, allocations: 322.8 kB / 0.6692 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/0.2257, allocations: 23.88 kB / 0.6692 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.616e-05/0.2258, allocations: 47.42 kB / 0.6692 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.2259, allocations: 67.36 kB / 0.6693 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2259, allocations: 0 / 0.6693 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001685/0.2261, allocations: 93.58 kB / 0.6694 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.2261, allocations: 11.98 kB / 0.6694 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2261, allocations: 0 / 0.6694 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.2262, allocations: 4.031 kB / 0.6694 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.24e-05/0.2262, allocations: 8 kB / 0.6694 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2263, allocations: 7.938 kB / 0.6694 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.16e-05/0.2263, allocations: 11.98 kB / 0.6694 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.2264, allocations: 4 kB / 0.6694 GB, free: 1.426 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 0.000188/0.2265, allocations: 117.8 kB / 0.6695 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.2266, allocations: 7.953 kB / 0.6696 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.2266, allocations: 7.969 kB / 0.6696 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2266, allocations: 0 / 0.6696 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2266, allocations: 4 kB / 0.6696 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.2267, allocations: 89.05 kB / 0.6696 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.2267, allocations: 3.938 kB / 0.6697 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.231e-05/0.2268, allocations: 8 kB / 0.6697 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.2268, allocations: 7.984 kB / 0.6697 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002057/0.227, allocations: 164.9 kB / 0.6698 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000231/0.2273, allocations: 254.8 kB / 0.6701 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.154e-05/0.2274, allocations: 32.11 kB / 0.6701 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.907e-05/0.2274, allocations: 91.47 kB / 0.6702 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of Backend: time 6.21e-07/0.2274, allocations: 0 / 0.6702 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004101/0.2278, allocations: 106.3 kB / 0.6703 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0008182/0.2287, allocations: 0.5842 MB / 0.6709 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.003893/0.2326, allocations: 0.7783 MB / 0.6716 GB, free: 15.08 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)