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.0006589/0.0006589, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008833/0.001542, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001077/0.001077, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.002411, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9905/0.9905, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08015/1.071, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 236.4 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001686/0.003809, allocations: 475.3 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7339/0.7339, allocations: 138.7 MB / 384.1 MB, free: 480 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07542/0.8093, allocations: 42.4 MB / 426.5 MB, free: 5.945 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.723e-06/1.723e-06, allocations: 0 / 427.8 MB, free: 4.613 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.35e-05, allocations: 2.312 kB / 427.8 MB, free: 4.609 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.003341/0.003365, allocations: 1.903 MB / 429.7 MB, free: 2.691 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.004468, allocations: 0.5764 MB / 430.3 MB, free: 2.109 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.004568, allocations: 7.938 kB / 430.3 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.53e-05/0.004663, allocations: 27.67 kB / 430.3 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.163e-05/0.004745, allocations: 35.72 kB / 430.3 MB, free: 2.039 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.004943, allocations: 71.78 kB / 430.4 MB, free: 1.969 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.005182, allocations: 167.5 kB / 430.6 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.005314, allocations: 38.41 kB / 430.6 MB, free: 1.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.005487, allocations: 91.8 kB / 430.7 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.762e-05/0.005565, allocations: 43.81 kB / 430.8 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.005598, allocations: 8 kB / 430.8 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.136e-05/0.00562, allocations: 12 kB / 430.8 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.005651, allocations: 23.88 kB / 430.8 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.005706, allocations: 31.94 kB / 430.8 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.005877, allocations: 95.48 kB / 430.9 MB, free: 1.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.604e-05/0.005893, allocations: 0 / 430.9 MB, free: 1.469 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005894, allocations: 0 / 430.9 MB, free: 1.469 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.005912, allocations: 0 / 430.9 MB, free: 1.469 MB / 410.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.0006352/0.006547, allocations: 395.7 kB / 431.3 MB, free: 1.059 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.006587, allocations: 11.98 kB / 431.3 MB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.00664, allocations: 28.91 kB / 431.3 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.006888, allocations: 181.4 kB / 431.5 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.006904, allocations: 8.375 kB / 431.5 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.006934, allocations: 20.36 kB / 431.6 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.007135, allocations: 131 kB / 431.7 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.007146, allocations: 4.125 kB / 431.7 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.007159, allocations: 4.375 kB / 431.7 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.007168, allocations: 7.938 kB / 431.7 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.612e-05/0.007234, allocations: 31.92 kB / 431.7 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2418/0.249, allocations: 0.5693 MB / 432.3 MB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.19e-05/0.2491, allocations: 22.95 kB / 432.3 MB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.2491, allocations: 14.19 kB / 432.3 MB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.2492, allocations: 2.312 kB / 432.3 MB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.2493, allocations: 100.6 kB / 432.4 MB, free: 2.461 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 2.544e-06/0.2493, allocations: 0 / 432.4 MB, free: 2.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001817/0.2495, allocations: 90.64 kB / 432.5 MB, free: 2.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.2495, allocations: 133.9 kB / 432.7 MB, free: 2.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.2496, allocations: 190.5 kB / 432.8 MB, free: 2.168 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.2496, allocations: 31.23 kB / 432.9 MB, free: 2.137 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.2497, allocations: 124.4 kB / 433 MB, free: 2.055 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.2497, allocations: 34.69 kB / 433 MB, free: 2.047 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.2498, allocations: 43.86 kB / 433.1 MB, free: 2.031 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.353e-05/0.2498, allocations: 327.5 kB / 433.4 MB, free: 1.719 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.2498, allocations: 15.05 kB / 433.4 MB, free: 1.719 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.697e-05/0.2499, allocations: 118.2 kB / 433.5 MB, free: 1.586 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.456e-05/0.25, allocations: 161.2 kB / 433.7 MB, free: 1.453 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.25, allocations: 0.5625 kB / 433.7 MB, free: 1.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001244/0.2501, allocations: 142.2 kB / 433.8 MB, free: 1.422 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2501, allocations: 9.406 kB / 433.8 MB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2501, allocations: 5.125 kB / 433.8 MB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2501, allocations: 6.688 kB / 433.8 MB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.2502, allocations: 34.31 kB / 433.9 MB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2502, allocations: 8.578 kB / 433.9 MB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.2503, allocations: 23.62 kB / 433.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.2503, allocations: 8.281 kB / 433.9 MB, free: 1.418 MB / 410.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 5.426e-05/0.2503, allocations: 123.9 kB / 434 MB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.2504, allocations: 15.88 kB / 434 MB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.2504, allocations: 28.34 kB / 434.1 MB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2504, allocations: 1.094 kB / 434.1 MB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2504, allocations: 1.969 kB / 434.1 MB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2504, allocations: 3.141 kB / 434.1 MB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.2507, allocations: 352.6 kB / 434.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2507, allocations: 0 / 434.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.2508, allocations: 14.27 kB / 434.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.2508, allocations: 16.92 kB / 434.5 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2508, allocations: 8.875 kB / 434.5 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.2508, allocations: 4.016 kB / 434.5 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2508, allocations: 1.938 kB / 434.5 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2508, allocations: 4.781 kB / 434.5 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.2509, allocations: 273.7 kB / 434.7 MB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.251, allocations: 5.047 kB / 434.7 MB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.251, allocations: 11.42 kB / 434.8 MB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.2511, allocations: 15.86 kB / 434.8 MB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.2511, allocations: 1.844 kB / 434.8 MB, free: 16.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.259e-05/0.2511, allocations: 53.2 kB / 434.8 MB, free: 16.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2511, allocations: 0.8438 kB / 434.8 MB, free: 16.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.2513, allocations: 30.11 kB / 434.9 MB, free: 16.79 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 9.083e-05/0.2514, allocations: 90.66 kB / 434.9 MB, free: 16.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.2515, allocations: 74.97 kB / 435 MB, free: 16.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.2515, allocations: 2.969 kB / 435 MB, free: 16.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.732e-05/0.2515, allocations: 36.31 kB / 435.1 MB, free: 16.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.2518, allocations: 76.5 kB / 435.1 MB, free: 16.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005371/0.2524, allocations: 329.4 kB / 435.5 MB, free: 16.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.057e-05/0.2524, allocations: 71.72 kB / 435.5 MB, free: 16.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.172e-05/0.2525, allocations: 22.03 kB / 435.5 MB, free: 16.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-05/0.2525, allocations: 81.73 kB / 435.6 MB, free: 16.37 MB / 426.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2525, allocations: 0.9062 kB / 435.6 MB, free: 16.37 MB / 426.7 MB Notification: Performance of Templates: time 0.004299/0.2568, allocations: 2.27 MB / 437.9 MB, free: 16.29 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.4919232008978724]