Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001172/0.001172, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001417/0.001417, allocations: 181 kB / 23.36 MB, free: 1.129 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 1.002/1.002, allocations: 177.1 MB / 203.8 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001773/0.001773, allocations: 246.9 kB / 260.5 MB, free: 12.72 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6722/0.6722, allocations: 138.4 MB / 402.2 MB, free: 0.5898 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 1.406 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.688e-05, allocations: 4.172 kB / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.004036/0.004063, allocations: 1.859 MB / 464.2 MB, free: 15.7 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.005372, allocations: 0.5811 MB / 464.8 MB, free: 15.31 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.005499, allocations: 7.312 kB / 464.8 MB, free: 15.31 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.005646, allocations: 19.27 kB / 464.8 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.638e-05/0.005742, allocations: 36.45 kB / 464.8 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.005992, allocations: 63.34 kB / 464.9 MB, free: 15.24 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.00626, allocations: 174.1 kB / 465.1 MB, free: 15.16 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.006401, allocations: 35.69 kB / 465.1 MB, free: 15.14 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.006568, allocations: 80.81 kB / 465.2 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.325e-05/0.006651, allocations: 40.61 kB / 465.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.006686, allocations: 10.47 kB / 465.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.065e-05/0.006706, allocations: 10.28 kB / 465.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.006743, allocations: 30.38 kB / 465.3 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.006801, allocations: 41.48 kB / 465.3 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.006985, allocations: 100.9 kB / 465.4 MB, free: 15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.006989, allocations: 1.875 kB / 465.4 MB, free: 15 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.00699, allocations: 0.5625 kB / 465.4 MB, free: 15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.006995, allocations: 0 / 465.4 MB, free: 15 MB / 426.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.0006025/0.007597, allocations: 374.5 kB / 465.8 MB, free: 14.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.007633, allocations: 10.5 kB / 465.8 MB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.154e-05/0.007694, allocations: 21.95 kB / 465.8 MB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.007931, allocations: 169.1 kB / 466 MB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.007948, allocations: 11.09 kB / 466 MB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.007984, allocations: 21.3 kB / 466 MB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.008213, allocations: 135.5 kB / 466.1 MB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.008224, allocations: 2.625 kB / 466.1 MB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.008239, allocations: 6.062 kB / 466.1 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.00825, allocations: 11.31 kB / 466.1 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.128e-05/0.008321, allocations: 30.17 kB / 466.2 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007091/0.00903, allocations: 0.57 MB / 466.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.367e-05/0.009114, allocations: 24.28 kB / 466.8 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.009145, allocations: 15.86 kB / 466.8 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.009162, allocations: 1 kB / 466.8 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.009311, allocations: 105.5 kB / 466.9 MB, free: 13.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.009313, allocations: 2.75 kB / 466.9 MB, free: 13.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002104/0.009523, allocations: 86.83 kB / 467 MB, free: 13.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.009596, allocations: 136.9 kB / 467.1 MB, free: 13.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.009752, allocations: 188.8 kB / 467.3 MB, free: 13.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.009771, allocations: 30.95 kB / 467.3 MB, free: 13.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.009901, allocations: 122.4 kB / 467.4 MB, free: 13.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.009935, allocations: 37.41 kB / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.01, allocations: 44.55 kB / 467.5 MB, free: 13.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.01012, allocations: 337.2 kB / 467.9 MB, free: 12.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/0.01016, allocations: 11.56 kB / 467.9 MB, free: 12.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.832e-05/0.01026, allocations: 116.8 kB / 468 MB, free: 12.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.01046, allocations: 164 kB / 468.1 MB, free: 12.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.01047, allocations: 0.6562 kB / 468.1 MB, free: 12.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002218/0.01069, allocations: 141.5 kB / 468.3 MB, free: 12.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.01071, allocations: 11.94 kB / 468.3 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.01072, allocations: 4 kB / 468.3 MB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.01074, allocations: 4.875 kB / 468.3 MB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.01085, allocations: 31.92 kB / 468.3 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.01086, allocations: 10.06 kB / 468.3 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.01097, allocations: 26.61 kB / 468.4 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.01098, allocations: 11.94 kB / 468.4 MB, free: 12.34 MB / 426.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,intNoReset.trigger_internal,intDef.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 9.422e-05/0.01108, allocations: 126.5 kB / 468.5 MB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.01111, allocations: 13.95 kB / 468.5 MB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.01115, allocations: 29.39 kB / 468.5 MB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.01115, allocations: 0 / 468.5 MB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01116, allocations: 6.312 kB / 468.5 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01116, allocations: 0 / 468.5 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.01162, allocations: 339.9 kB / 468.9 MB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.01163, allocations: 4 kB / 468.9 MB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.01182, allocations: 15.88 kB / 468.9 MB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.01182, allocations: 0 / 468.9 MB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.01185, allocations: 8 kB / 468.9 MB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.01185, allocations: 5.359 kB / 468.9 MB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.01185, allocations: 7.984 kB / 468.9 MB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.0121, allocations: 265.8 kB / 469.2 MB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.01213, allocations: 28.39 kB / 469.2 MB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.01215, allocations: 4 kB / 469.2 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.01223, allocations: 9 kB / 469.2 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.01227, allocations: 16.78 kB / 469.2 MB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.01228, allocations: 1.875 kB / 469.2 MB, free: 11.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.272e-05/0.01235, allocations: 57.84 kB / 469.3 MB, free: 11.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01235, allocations: 3.938 kB / 469.3 MB, free: 11.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000205/0.01256, allocations: 24 kB / 469.3 MB, free: 11.36 MB / 426.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 0.0001082/0.01267, allocations: 85.16 kB / 469.4 MB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.01279, allocations: 75.95 kB / 469.5 MB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.01279, allocations: 0 / 469.5 MB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.01283, allocations: 35.33 kB / 469.5 MB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.01314, allocations: 66.3 kB / 469.6 MB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.01356, allocations: 336.7 kB / 469.9 MB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.757e-05/0.01362, allocations: 72.77 kB / 470 MB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.712e-05/0.01367, allocations: 21.19 kB / 470 MB, free: 10.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.235e-05/0.01377, allocations: 83.36 kB / 470.1 MB, free: 10.55 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01377, allocations: 0.6875 kB / 470.1 MB, free: 10.55 MB / 426.7 MB Notification: Performance of Templates: time 0.00373/0.0175, allocations: 2.213 MB / 472.3 MB, free: 8.539 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6061687911860645]