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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9539/0.9539, allocations: 134 MB / 438.5 MB, free: 13.58 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 0.6083 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4471, allocations: 84.66 MB / 0.691 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002303/0.4494, allocations: 1.479 MB / 0.6925 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006202/0.4501, allocations: 451.3 kB / 0.6929 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.4501, allocations: 1.062 kB / 0.6929 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.4501, allocations: 7.922 kB / 0.6929 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.279e-05/0.4502, allocations: 5.031 kB / 0.6929 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.4504, allocations: 28.44 kB / 0.6929 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.37e-05/0.4505, allocations: 52.53 kB / 0.693 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.4506, allocations: 11.55 kB / 0.693 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.662e-05/0.4506, allocations: 28.67 kB / 0.693 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.4507, allocations: 20.73 kB / 0.693 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.4507, allocations: 4.656 kB / 0.693 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.4507, allocations: 3.938 kB / 0.693 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.4507, allocations: 14.09 kB / 0.6931 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.4508, allocations: 22.72 kB / 0.6931 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.4509, allocations: 38.12 kB / 0.6931 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.4509, allocations: 1.281 kB / 0.6931 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4509, allocations: 0 / 0.6931 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.4509, allocations: 4 kB / 0.6931 GB, free: 0.4961 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.0004397/0.4513, allocations: 369 kB / 0.6935 GB, free: 116 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.4514, allocations: 9.031 kB / 0.6935 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.4514, allocations: 8.328 kB / 0.6935 GB, free: 112 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.4515, allocations: 166.7 kB / 0.6936 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.4516, allocations: 2.781 kB / 0.6936 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.4516, allocations: 8.031 kB / 0.6937 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.4517, allocations: 63.48 kB / 0.6937 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.4517, allocations: 1.062 kB / 0.6937 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4517, allocations: 0 / 0.6937 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4517, allocations: 1.188 kB / 0.6937 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.769e-05/0.4518, allocations: 26.58 kB / 0.6937 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.4523, allocations: 308.8 kB / 0.694 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.4524, allocations: 59.09 kB / 0.6941 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.4525, allocations: 22.58 kB / 0.6941 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.4525, allocations: 1.094 kB / 0.6941 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.4526, allocations: 73.2 kB / 0.6942 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.4526, allocations: 1.062 kB / 0.6942 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002356/0.4529, allocations: 101.2 kB / 0.6943 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.4529, allocations: 53.75 kB / 0.6943 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/0.453, allocations: 112.2 kB / 0.6944 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.453, allocations: 26.73 kB / 0.6945 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.4531, allocations: 90.06 kB / 0.6946 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.4531, allocations: 19.64 kB / 0.6946 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.4532, allocations: 30.14 kB / 0.6946 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4533, allocations: 324.1 kB / 0.6949 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.744e-05/0.4533, allocations: 14.75 kB / 0.6949 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.254e-05/0.4534, allocations: 51.83 kB / 0.695 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.745e-05/0.4535, allocations: 71.78 kB / 0.695 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4535, allocations: 0 / 0.695 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001428/0.4537, allocations: 90.98 kB / 0.6951 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4537, allocations: 4.688 kB / 0.6951 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4537, allocations: 2 kB / 0.6951 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4537, allocations: 9.984 kB / 0.6951 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.839e-05/0.4538, allocations: 14.81 kB / 0.6952 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4538, allocations: 1.469 kB / 0.6952 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.4538, allocations: 12.33 kB / 0.6952 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.4539, allocations: 12.36 kB / 0.6952 GB, free: 14.46 MB / 0.5137 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.35e-05/0.4539, allocations: 118.1 kB / 0.6953 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.454, allocations: 2.969 kB / 0.6953 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.454, allocations: 7.969 kB / 0.6953 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.454, allocations: 1.438 kB / 0.6953 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.454, allocations: 5.406 kB / 0.6953 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.454, allocations: 3.938 kB / 0.6953 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.4544, allocations: 358.8 kB / 0.6957 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4544, allocations: 5.297 kB / 0.6957 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.883e-05/0.4545, allocations: 6.781 kB / 0.6957 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4545, allocations: 1.875 kB / 0.6957 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.4545, allocations: 0 / 0.6957 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4545, allocations: 3.938 kB / 0.6957 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4545, allocations: 5.875 kB / 0.6957 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.4547, allocations: 179 kB / 0.6959 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.4547, allocations: 82.31 kB / 0.6959 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.4547, allocations: 1.344 kB / 0.6959 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.528e-05/0.4548, allocations: 10.89 kB / 0.6959 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.4549, allocations: 8.781 kB / 0.6959 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.4549, allocations: 6.422 kB / 0.696 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.743e-05/0.4549, allocations: 86.44 kB / 0.696 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.4549, allocations: 1.188 kB / 0.696 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002287/0.4552, allocations: 15.31 kB / 0.6961 GB, free: 13.59 MB / 0.5137 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.0001117/0.4553, allocations: 96.47 kB / 0.6961 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.4554, allocations: 55.52 kB / 0.6962 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4554, allocations: 0 / 0.6962 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.446e-05/0.4555, allocations: 23.34 kB / 0.6962 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.4558, allocations: 23.55 kB / 0.6962 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.4562, allocations: 169.7 kB / 0.6964 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.4565, allocations: 0.6906 MB / 0.6971 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.815e-05/0.4565, allocations: 3.406 kB / 0.6971 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.4566, allocations: 12.25 kB / 0.6971 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.4566, allocations: 0 / 0.6971 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of Templates: time 0.003219/0.4598, allocations: 0.7995 MB / 0.6979 GB, free: 12.18 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8197853323072195]