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.0006801/0.0006801, allocations: 80.47 kB / 20.69 MB, free: 3.863 MB / 18.57 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.0007357/0.0007357, allocations: 169.9 kB / 23.97 MB, free: 0.582 MB / 18.57 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 0.8688/0.8688, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 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.5465/0.5465, allocations: 114 MB / 374.7 MB, free: 8.715 MB / 346.7 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.603e-06/1.603e-06, allocations: 0 / 0.5554 GB, free: 1.211 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.594e-05, allocations: 13.83 kB / 0.5554 GB, free: 1.199 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.00185/0.001866, allocations: 1.782 MB / 0.5572 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006527/0.002518, allocations: 0.5571 MB / 0.5577 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.002583, allocations: 7.938 kB / 0.5577 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.748e-05/0.00267, allocations: 27.66 kB / 0.5577 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.002718, allocations: 27.73 kB / 0.5578 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.002862, allocations: 67.84 kB / 0.5578 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.003013, allocations: 175.4 kB / 0.558 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/0.00311, allocations: 41.72 kB / 0.558 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.466e-05/0.003185, allocations: 83.8 kB / 0.5581 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.003233, allocations: 39.81 kB / 0.5582 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.003255, allocations: 12 kB / 0.5582 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.003266, allocations: 8 kB / 0.5582 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.003289, allocations: 23.92 kB / 0.5582 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.003325, allocations: 43.84 kB / 0.5582 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.003457, allocations: 135.4 kB / 0.5584 GB, free: 14.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.003459, allocations: 0 / 0.5584 GB, free: 14.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.003459, allocations: 0 / 0.5584 GB, free: 14.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.003463, allocations: 0 / 0.5584 GB, free: 14.16 MB / 490.7 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.0004234/0.003886, allocations: 435.2 kB / 0.5588 GB, free: 13.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.00392, allocations: 8.625 kB / 0.5588 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.003953, allocations: 24.8 kB / 0.5588 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.004125, allocations: 169.4 kB / 0.559 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.004135, allocations: 12.38 kB / 0.559 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.004159, allocations: 12.38 kB / 0.559 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.004325, allocations: 149.8 kB / 0.5591 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.004332, allocations: 4.125 kB / 0.5591 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.004342, allocations: 4.375 kB / 0.5591 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.004347, allocations: 7.938 kB / 0.5592 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.004465, allocations: 75.81 kB / 0.5592 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.005, allocations: 0.661 MB / 0.5599 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.179e-05/0.005082, allocations: 42.56 kB / 0.5599 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.005136, allocations: 36.81 kB / 0.5599 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.005152, allocations: 4 kB / 0.56 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.005274, allocations: 122.7 kB / 0.5601 GB, free: 12.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.005275, allocations: 0 / 0.5601 GB, free: 12.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002737/0.005549, allocations: 165.6 kB / 0.5602 GB, free: 12.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.005598, allocations: 136.5 kB / 0.5604 GB, free: 11.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.005713, allocations: 191.3 kB / 0.5605 GB, free: 11.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.005726, allocations: 29.7 kB / 0.5606 GB, free: 11.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.005789, allocations: 135.9 kB / 0.5607 GB, free: 11.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.005815, allocations: 35.84 kB / 0.5607 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.005858, allocations: 41.7 kB / 0.5608 GB, free: 11.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.005936, allocations: 330.8 kB / 0.5611 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/0.006002, allocations: 44.03 kB / 0.5611 GB, free: 11.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-05/0.006101, allocations: 142.5 kB / 0.5613 GB, free: 10.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.006274, allocations: 198.4 kB / 0.5615 GB, free: 10.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.006277, allocations: 4 kB / 0.5615 GB, free: 10.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000209/0.006486, allocations: 209.1 kB / 0.5617 GB, free: 10.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.006495, allocations: 4 kB / 0.5617 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.0065, allocations: 4.5 kB / 0.5617 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.006509, allocations: 8 kB / 0.5617 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.006571, allocations: 44.16 kB / 0.5617 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.006577, allocations: 7.938 kB / 0.5617 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.006645, allocations: 27.88 kB / 0.5618 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.006654, allocations: 12 kB / 0.5618 GB, free: 10.34 MB / 490.7 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 6.852e-05/0.006723, allocations: 133.7 kB / 0.5619 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.006739, allocations: 19.84 kB / 0.5619 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.006763, allocations: 21.45 kB / 0.5619 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006765, allocations: 0 / 0.5619 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.006769, allocations: 8 kB / 0.5619 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.006773, allocations: 0 / 0.5619 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.007181, allocations: 457.2 kB / 0.5624 GB, free: 9.672 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.007183, allocations: 0 / 0.5624 GB, free: 9.672 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/0.007236, allocations: 15.98 kB / 0.5624 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.007237, allocations: 0 / 0.5624 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.007246, allocations: 4 kB / 0.5624 GB, free: 9.652 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.007247, allocations: 0 / 0.5624 GB, free: 9.652 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.007249, allocations: 8 kB / 0.5624 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.007519, allocations: 360.1 kB / 0.5627 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.007536, allocations: 19.94 kB / 0.5628 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.007551, allocations: 4 kB / 0.5628 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.007631, allocations: 16.3 kB / 0.5628 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.007663, allocations: 11.98 kB / 0.5628 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.007669, allocations: 7.938 kB / 0.5628 GB, free: 9.211 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.022e-05/0.007729, allocations: 136.4 kB / 0.5629 GB, free: 9.078 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007729, allocations: 0 / 0.5629 GB, free: 9.078 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002094/0.007939, allocations: 31.94 kB / 0.563 GB, free: 9.047 MB / 490.7 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 6.557e-05/0.008004, allocations: 114.6 kB / 0.5631 GB, free: 8.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.008176, allocations: 120.7 kB / 0.5632 GB, free: 8.812 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008178, allocations: 0 / 0.5632 GB, free: 8.812 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.578e-05/0.008254, allocations: 47.91 kB / 0.5632 GB, free: 8.766 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.008573, allocations: 56.44 kB / 0.5633 GB, free: 8.715 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.008958, allocations: 358.4 kB / 0.5636 GB, free: 8.324 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.935e-05/0.009027, allocations: 120.3 kB / 0.5637 GB, free: 8.188 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.009059, allocations: 16.5 kB / 0.5638 GB, free: 8.172 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.00906, allocations: 0 / 0.5638 GB, free: 8.172 MB / 490.7 MB Notification: Performance of Templates: time 0.002151/0.01121, allocations: 2.168 MB / 0.5659 GB, free: 6.02 MB / 490.7 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.016752296127379] Failed to read output from testmodel.py, exit status != 0: 0.015320946462452412 0.023314952 0.018301036 Calling exit ...