Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.007909/0.007909, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001995/0.001995, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8936/0.8936, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 66.38 kB / 0.5813 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2112, allocations: 80.21 MB / 0.6596 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003238/0.2145, allocations: 1.463 MB / 0.6611 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000906/0.2154, allocations: 450.8 kB / 0.6615 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.2155, allocations: 0 / 0.6615 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.2156, allocations: 7.938 kB / 0.6615 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.413e-05/0.2157, allocations: 3.938 kB / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.2159, allocations: 27.91 kB / 0.6615 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.216, allocations: 47.86 kB / 0.6616 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.2161, allocations: 19.97 kB / 0.6616 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.679e-05/0.2162, allocations: 19.92 kB / 0.6616 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.2163, allocations: 23.92 kB / 0.6616 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.2163, allocations: 4 kB / 0.6616 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.2163, allocations: 4 kB / 0.6616 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.2164, allocations: 11.92 kB / 0.6617 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.2164, allocations: 19.94 kB / 0.6617 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.2166, allocations: 55.73 kB / 0.6617 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.2166, allocations: 0 / 0.6617 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2166, allocations: 0 / 0.6617 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.2166, allocations: 0 / 0.6617 GB, free: 8.133 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.0005668/0.2172, allocations: 355.5 kB / 0.6621 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2172, allocations: 11.97 kB / 0.6621 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.2173, allocations: 8.844 kB / 0.6621 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.2174, allocations: 164.3 kB / 0.6622 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.2174, allocations: 12.38 kB / 0.6623 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.2175, allocations: 8.359 kB / 0.6623 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.2176, allocations: 54 kB / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2176, allocations: 0 / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2176, allocations: 7.938 kB / 0.6623 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2176, allocations: 3.938 kB / 0.6623 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.451e-05/0.2177, allocations: 23.98 kB / 0.6623 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.2182, allocations: 304.7 kB / 0.6626 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.2183, allocations: 54.59 kB / 0.6627 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.2184, allocations: 32.92 kB / 0.6627 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.2184, allocations: 0 / 0.6627 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.2186, allocations: 71.39 kB / 0.6628 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.2186, allocations: 0 / 0.6628 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002315/0.2188, allocations: 101.6 kB / 0.6629 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.2189, allocations: 51.41 kB / 0.6629 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.219, allocations: 113.7 kB / 0.663 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.219, allocations: 29.7 kB / 0.6631 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.2191, allocations: 88.12 kB / 0.6632 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.2191, allocations: 23.64 kB / 0.6632 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.2191, allocations: 33.66 kB / 0.6632 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2193, allocations: 322.8 kB / 0.6635 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/0.2193, allocations: 16 kB / 0.6635 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.261e-05/0.2194, allocations: 47.42 kB / 0.6636 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.706e-05/0.2195, allocations: 67.36 kB / 0.6636 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2195, allocations: 0 / 0.6636 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001293/0.2196, allocations: 85.69 kB / 0.6637 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2196, allocations: 12.02 kB / 0.6637 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2196, allocations: 8 kB / 0.6637 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2197, allocations: 0 / 0.6637 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.2197, allocations: 11.94 kB / 0.6638 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2197, allocations: 0 / 0.6638 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.2198, allocations: 20.27 kB / 0.6638 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.2198, allocations: 0 / 0.6638 GB, free: 5.785 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.0001007/0.2199, allocations: 121.8 kB / 0.6639 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.2199, allocations: 0 / 0.6639 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.22, allocations: 15.91 kB / 0.6639 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.22, allocations: 4 kB / 0.6639 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.22, allocations: 0 / 0.6639 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.22, allocations: 0 / 0.6639 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.2204, allocations: 370.5 kB / 0.6643 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2204, allocations: 0 / 0.6643 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.2205, allocations: 8 kB / 0.6643 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2205, allocations: 0 / 0.6643 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2205, allocations: 4 kB / 0.6643 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2205, allocations: 7.938 kB / 0.6643 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2205, allocations: 3.984 kB / 0.6643 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.2207, allocations: 179.5 kB / 0.6645 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.2207, allocations: 81.02 kB / 0.6645 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.2207, allocations: 4 kB / 0.6645 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.2208, allocations: 11.86 kB / 0.6646 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.2209, allocations: 15.98 kB / 0.6646 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2209, allocations: 4 kB / 0.6646 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.2209, allocations: 79.28 kB / 0.6646 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2209, allocations: 0 / 0.6646 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002264/0.2212, allocations: 16 kB / 0.6647 GB, free: 4.77 MB / 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.000109/0.2213, allocations: 95.25 kB / 0.6648 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.2214, allocations: 59.84 kB / 0.6648 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2215, allocations: 0 / 0.6648 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.605e-05/0.2215, allocations: 20.25 kB / 0.6648 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.2218, allocations: 23.2 kB / 0.6649 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.2222, allocations: 161.4 kB / 0.665 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.2225, allocations: 0.6962 MB / 0.6657 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.44e-05/0.2225, allocations: 0 / 0.6657 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.2226, allocations: 11.44 kB / 0.6657 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.2226, allocations: 8 kB / 0.6657 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of Templates: time 0.003042/0.2256, allocations: 0.7771 MB / 0.6665 GB, free: 2.875 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)