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.006551/0.006551, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00152/0.001521, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.502/1.502, allocations: 222.9 MB / 240.4 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.9259/0.9259, allocations: 135.1 MB / 425.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 62.56 kB / 0.5856 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1973, allocations: 80.92 MB / 0.6646 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002801/0.2002, allocations: 1.458 MB / 0.666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007989/0.201, allocations: 454.8 kB / 0.6665 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.2011, allocations: 0 / 0.6665 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.2011, allocations: 3.938 kB / 0.6665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.572e-05/0.2012, allocations: 11.91 kB / 0.6665 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.2014, allocations: 19.92 kB / 0.6665 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.2015, allocations: 47.91 kB / 0.6665 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.2017, allocations: 16 kB / 0.6666 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.2018, allocations: 31.84 kB / 0.6666 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.576e-05/0.2019, allocations: 19.92 kB / 0.6666 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.2019, allocations: 4 kB / 0.6666 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.2019, allocations: 4 kB / 0.6666 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.2019, allocations: 15.92 kB / 0.6666 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.202, allocations: 23.92 kB / 0.6667 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.2021, allocations: 43.75 kB / 0.6667 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2021, allocations: 0 / 0.6667 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.24e-06/0.2021, allocations: 4 kB / 0.6667 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2022, allocations: 0 / 0.6667 GB, free: 3.68 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.0005622/0.2027, allocations: 355.5 kB / 0.667 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2028, allocations: 9.109 kB / 0.667 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.2028, allocations: 4.938 kB / 0.667 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.203, allocations: 188.1 kB / 0.6672 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.203, allocations: 384 / 0.6672 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.203, allocations: 4.375 kB / 0.6672 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.2032, allocations: 58 kB / 0.6673 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2032, allocations: 0 / 0.6673 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.2032, allocations: 11.98 kB / 0.6673 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2032, allocations: 0 / 0.6673 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.921e-05/0.2033, allocations: 27.92 kB / 0.6673 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.2038, allocations: 292.8 kB / 0.6676 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.2039, allocations: 62.66 kB / 0.6677 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.204, allocations: 28.88 kB / 0.6677 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.204, allocations: 0 / 0.6677 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.2042, allocations: 71.3 kB / 0.6678 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.2042, allocations: 0 / 0.6678 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000235/0.2044, allocations: 97.61 kB / 0.6679 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.2045, allocations: 55.41 kB / 0.6679 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.803e-05/0.2045, allocations: 105.8 kB / 0.668 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.2046, allocations: 33.7 kB / 0.668 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.2046, allocations: 88.05 kB / 0.6681 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.2046, allocations: 31.62 kB / 0.6682 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.2047, allocations: 29.66 kB / 0.6682 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.2048, allocations: 318.8 kB / 0.6685 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.829e-05/0.2048, allocations: 20.31 kB / 0.6685 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/0.2049, allocations: 43.42 kB / 0.6685 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.482e-05/0.205, allocations: 75.53 kB / 0.6686 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.205, allocations: 0 / 0.6686 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000135/0.2051, allocations: 97.55 kB / 0.6687 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2052, allocations: 8 kB / 0.6687 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2052, allocations: 0 / 0.6687 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2052, allocations: 0 / 0.6687 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/0.2053, allocations: 12 kB / 0.6687 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.2053, allocations: 7.969 kB / 0.6687 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.2054, allocations: 11.89 kB / 0.6688 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.2054, allocations: 4 kB / 0.6688 GB, free: 1.324 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 8.711e-05/0.2055, allocations: 121.8 kB / 0.6689 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.2055, allocations: 4 kB / 0.6689 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.2055, allocations: 7.969 kB / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2055, allocations: 3.984 kB / 0.6689 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2055, allocations: 0 / 0.6689 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2056, allocations: 0 / 0.6689 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.206, allocations: 366.3 kB / 0.6692 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.206, allocations: 0 / 0.6692 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.206, allocations: 8 kB / 0.6692 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.206, allocations: 4 kB / 0.6692 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.206, allocations: 0 / 0.6692 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.206, allocations: 3.938 kB / 0.6693 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.206, allocations: 0 / 0.6693 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.2062, allocations: 183.5 kB / 0.6694 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.2062, allocations: 85.02 kB / 0.6695 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.2063, allocations: 3.984 kB / 0.6695 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.2063, allocations: 11.88 kB / 0.6695 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.2064, allocations: 11.98 kB / 0.6695 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.2064, allocations: 4 kB / 0.6695 GB, free: 432 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.907e-05/0.2064, allocations: 83.28 kB / 0.6696 GB, free: 348 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2065, allocations: 192 / 0.6696 GB, free: 348 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002215/0.2067, allocations: 8 kB / 0.6696 GB, free: 340 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.0001109/0.2068, allocations: 112.7 kB / 0.6697 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.207, allocations: 51.91 kB / 0.6698 GB, free: 168 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.207, allocations: 0 / 0.6698 GB, free: 168 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.837e-05/0.207, allocations: 35.92 kB / 0.6698 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.2073, allocations: 4 kB / 0.6698 GB, free: 128 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.2078, allocations: 169.5 kB / 0.67 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.208, allocations: 0.6807 MB / 0.6706 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.693e-05/0.2081, allocations: 4 kB / 0.6706 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.2081, allocations: 11.44 kB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.2081, allocations: 0 / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.003042/0.2112, allocations: 0.7795 MB / 0.6714 GB, free: 14.43 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)