Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 83.62 kB / 19.94 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 164.3 kB / 23.22 MB, free: 4.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.381/1.381, allocations: 177.1 MB / 203.5 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9006/0.9006, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.5547 GB, free: 2.629 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.601e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002836/0.002862, allocations: 1.789 MB / 0.5564 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.003956, allocations: 0.5493 MB / 0.557 GB, free: 276 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.845e-05/0.004054, allocations: 11.94 kB / 0.557 GB, free: 264 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.00418, allocations: 27.67 kB / 0.557 GB, free: 236 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.544e-05/0.004256, allocations: 27.72 kB / 0.557 GB, free: 208 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.004461, allocations: 71.84 kB / 0.5571 GB, free: 136 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.004711, allocations: 171.4 kB / 0.5573 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.004842, allocations: 41.72 kB / 0.5573 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.00497, allocations: 75.78 kB / 0.5574 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.107e-05/0.005041, allocations: 43.83 kB / 0.5574 GB, free: 15.81 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.005077, allocations: 11.98 kB / 0.5574 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.279e-05/0.0051, allocations: 16 kB / 0.5574 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.005141, allocations: 23.92 kB / 0.5575 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.145e-05/0.005202, allocations: 39.84 kB / 0.5575 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.005429, allocations: 135.4 kB / 0.5576 GB, free: 15.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.005431, allocations: 0 / 0.5576 GB, free: 15.59 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005432, allocations: 0 / 0.5576 GB, free: 15.59 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.005443, allocations: 4 kB / 0.5576 GB, free: 15.58 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000808/0.006251, allocations: 427.2 kB / 0.558 GB, free: 15.13 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.006282, allocations: 12.62 kB / 0.5581 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.006329, allocations: 20.8 kB / 0.5581 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.006615, allocations: 177.4 kB / 0.5582 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.006632, allocations: 12.31 kB / 0.5583 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.006667, allocations: 12.38 kB / 0.5583 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.006962, allocations: 150.8 kB / 0.5584 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.006971, allocations: 4.125 kB / 0.5584 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.006994, allocations: 8.375 kB / 0.5584 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.007002, allocations: 7.938 kB / 0.5584 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.007229, allocations: 67.88 kB / 0.5585 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008573/0.008086, allocations: 0.6455 MB / 0.5591 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.008242, allocations: 50.55 kB / 0.5592 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.008352, allocations: 36.98 kB / 0.5592 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.008368, allocations: 3.984 kB / 0.5592 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.008605, allocations: 129.6 kB / 0.5593 GB, free: 13.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.008606, allocations: 0 / 0.5593 GB, free: 13.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.000485/0.009091, allocations: 165.6 kB / 0.5595 GB, free: 13.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.009173, allocations: 140.5 kB / 0.5596 GB, free: 13.35 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.009362, allocations: 195.2 kB / 0.5598 GB, free: 13.14 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.009386, allocations: 33.7 kB / 0.5598 GB, free: 13.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.822e-05/0.009485, allocations: 127.9 kB / 0.56 GB, free: 12.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.009521, allocations: 35.69 kB / 0.56 GB, free: 12.94 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.411e-05/0.009585, allocations: 41.7 kB / 0.56 GB, free: 12.89 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.009739, allocations: 326.8 kB / 0.5604 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.009869, allocations: 35.97 kB / 0.5604 GB, free: 12.53 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.01008, allocations: 146.5 kB / 0.5605 GB, free: 12.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.01042, allocations: 198.4 kB / 0.5607 GB, free: 12.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01043, allocations: 0 / 0.5607 GB, free: 12.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000433/0.01086, allocations: 213.1 kB / 0.5609 GB, free: 11.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.01088, allocations: 8 kB / 0.5609 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.01088, allocations: 7.938 kB / 0.5609 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.0109, allocations: 4 kB / 0.5609 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.01103, allocations: 31.92 kB / 0.561 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.01104, allocations: 12.41 kB / 0.561 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.01118, allocations: 27.88 kB / 0.561 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.0112, allocations: 12 kB / 0.561 GB, free: 11.77 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.000122/0.01132, allocations: 142.7 kB / 0.5612 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.01135, allocations: 20.08 kB / 0.5612 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.01139, allocations: 25.44 kB / 0.5612 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.0114, allocations: 4 kB / 0.5612 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.0114, allocations: 0 / 0.5612 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.01141, allocations: 4 kB / 0.5612 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000733/0.01214, allocations: 453.5 kB / 0.5616 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.01215, allocations: 12.05 kB / 0.5617 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.01227, allocations: 15.98 kB / 0.5617 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01227, allocations: 0 / 0.5617 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.01228, allocations: 4 kB / 0.5617 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01229, allocations: 3.938 kB / 0.5617 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01229, allocations: 0 / 0.5617 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.01283, allocations: 364.2 kB / 0.562 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.01285, allocations: 15.84 kB / 0.562 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.01288, allocations: 8 kB / 0.562 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.01305, allocations: 12.03 kB / 0.5621 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.0131, allocations: 19.91 kB / 0.5621 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.01311, allocations: 4 kB / 0.5621 GB, free: 10.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.01322, allocations: 128.4 kB / 0.5622 GB, free: 10.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01322, allocations: 3.938 kB / 0.5622 GB, free: 10.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003267/0.01355, allocations: 32 kB / 0.5622 GB, free: 10.46 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001096/0.01366, allocations: 109.8 kB / 0.5623 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003216/0.01398, allocations: 107.8 kB / 0.5624 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01398, allocations: 1 kB / 0.5624 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.01413, allocations: 52.03 kB / 0.5625 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.01465, allocations: 61.05 kB / 0.5626 GB, free: 10.14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.01521, allocations: 324.7 kB / 0.5629 GB, free: 9.789 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.01533, allocations: 116.1 kB / 0.563 GB, free: 9.656 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.8e-05/0.01539, allocations: 25.92 kB / 0.563 GB, free: 9.633 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.01544, allocations: 20.5 kB / 0.563 GB, free: 9.609 MB / 478.1 MB Notification: Performance of SimCode: time 3.8e-07/0.01545, allocations: 0 / 0.563 GB, free: 9.609 MB / 478.1 MB Notification: Performance of Templates: time 0.005434/0.02088, allocations: 2.106 MB / 0.5651 GB, free: 7.562 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.188636410981417] Failed to read output from testmodel.py, exit status != 0: 0.029048927128314972 0.04353204 0.035227755 Calling exit ...