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.0006288/0.0006288, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009637/0.001593, allocations: 440 kB / 10.41 MB, free: 284 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.0006896/0.0006896, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009253/0.001615, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9746/0.9746, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08534/1.06, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.001449/0.001449, allocations: 226.2 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.002526, allocations: 475.6 kB / 244.8 MB, free: 14.07 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.704/0.704, allocations: 138.7 MB / 384.3 MB, free: 356 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.068/0.772, allocations: 42.4 MB / 426.7 MB, free: 5.824 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.583e-06/1.583e-06, allocations: 0 / 428.1 MB, free: 4.461 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.984e-05, allocations: 2.312 kB / 428.1 MB, free: 4.457 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.009257/0.009277, allocations: 1.911 MB / 430 MB, free: 2.531 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.01028, allocations: 0.5842 MB / 430.6 MB, free: 1.941 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.986e-05/0.01037, allocations: 11.94 kB / 430.6 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.481e-05/0.01047, allocations: 23.67 kB / 430.6 MB, free: 1.906 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.48e-05/0.01054, allocations: 27.73 kB / 430.6 MB, free: 1.879 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.01071, allocations: 71.83 kB / 430.7 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.01094, allocations: 171.4 kB / 430.9 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.01107, allocations: 38.42 kB / 430.9 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.01122, allocations: 91.8 kB / 431 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.0113, allocations: 39.83 kB / 431 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.01133, allocations: 12 kB / 431.1 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.942e-05/0.01135, allocations: 12 kB / 431.1 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.01138, allocations: 19.94 kB / 431.1 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.01143, allocations: 31.88 kB / 431.1 MB, free: 1.398 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.01159, allocations: 91.55 kB / 431.2 MB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.0116, allocations: 0 / 431.2 MB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.0116, allocations: 0 / 431.2 MB, free: 1.309 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.01161, allocations: 0 / 431.2 MB, free: 1.309 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.003608/0.01522, allocations: 399.7 kB / 431.6 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.01525, allocations: 15.98 kB / 431.6 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.01531, allocations: 28.91 kB / 431.6 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.01553, allocations: 169.4 kB / 431.8 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.01554, allocations: 12.31 kB / 431.8 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.01557, allocations: 16.36 kB / 431.8 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.01577, allocations: 135 kB / 432 MB, free: 488 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.01578, allocations: 4.125 kB / 432 MB, free: 484 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.01579, allocations: 8.375 kB / 432 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.0158, allocations: 11.94 kB / 432 MB, free: 464 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.735e-05/0.01586, allocations: 31.91 kB / 432 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2232/0.2391, allocations: 0.5596 MB / 432.6 MB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.644e-05/0.2391, allocations: 26.98 kB / 432.6 MB, free: 2.109 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.2392, allocations: 11.86 kB / 432.6 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.2392, allocations: 2.844 kB / 432.6 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.2393, allocations: 105.3 kB / 432.7 MB, free: 2.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 2.074e-06/0.2393, allocations: 0 / 432.7 MB, free: 2.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001773/0.2395, allocations: 94.62 kB / 432.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.2395, allocations: 135.5 kB / 432.9 MB, free: 1.836 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.709e-05/0.2396, allocations: 185 kB / 433.1 MB, free: 1.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.2396, allocations: 32.47 kB / 433.2 MB, free: 1.699 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.2397, allocations: 120.1 kB / 433.3 MB, free: 1.617 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.2397, allocations: 37.67 kB / 433.3 MB, free: 1.609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.2397, allocations: 44 kB / 433.4 MB, free: 1.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.2398, allocations: 328.6 kB / 433.7 MB, free: 1.281 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.2398, allocations: 12.05 kB / 433.7 MB, free: 1.281 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.405e-05/0.2399, allocations: 117.9 kB / 433.8 MB, free: 1.148 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.24, allocations: 162.7 kB / 434 MB, free: 1.016 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.24, allocations: 3.938 kB / 434 MB, free: 1.012 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001324/0.2401, allocations: 141.3 kB / 434.1 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2401, allocations: 6.812 kB / 434.1 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2401, allocations: 4.938 kB / 434.1 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2401, allocations: 6.734 kB / 434.1 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.2402, allocations: 37.92 kB / 434.2 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.2402, allocations: 6.156 kB / 434.2 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.05e-05/0.2403, allocations: 20.08 kB / 434.2 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.2403, allocations: 10.44 kB / 434.2 MB, free: 0.9766 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 9.114e-05/0.2404, allocations: 135.6 kB / 434.3 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.2404, allocations: 15.14 kB / 434.3 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.2405, allocations: 20.7 kB / 434.4 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2405, allocations: 2.094 kB / 434.4 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2405, allocations: 2.031 kB / 434.4 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2405, allocations: 4.391 kB / 434.4 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.2408, allocations: 347 kB / 434.7 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.2408, allocations: 4.156 kB / 434.7 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.2409, allocations: 13.62 kB / 434.7 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.2409, allocations: 17.19 kB / 434.7 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2409, allocations: 3.344 kB / 434.7 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.2409, allocations: 3.656 kB / 434.8 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2409, allocations: 3.328 kB / 434.8 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2409, allocations: 5.531 kB / 434.8 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.2411, allocations: 276.5 kB / 435 MB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.2411, allocations: 7.172 kB / 435 MB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.2412, allocations: 7.906 kB / 435 MB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.2412, allocations: 16.3 kB / 435.1 MB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.2412, allocations: 4.109 kB / 435.1 MB, free: 16.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.06e-05/0.2413, allocations: 53.31 kB / 435.1 MB, free: 16.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2413, allocations: 0.5 kB / 435.1 MB, free: 16.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001984/0.2415, allocations: 36.81 kB / 435.2 MB, free: 16.34 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.0001128/0.2416, allocations: 87.61 kB / 435.2 MB, free: 16.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.2417, allocations: 74.94 kB / 435.3 MB, free: 16.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.2417, allocations: 4.125 kB / 435.3 MB, free: 16.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.784e-05/0.2418, allocations: 39.27 kB / 435.4 MB, free: 16.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.2421, allocations: 394.7 kB / 435.7 MB, free: 15.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/0.2427, allocations: 330.5 kB / 436.1 MB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.493e-05/0.2428, allocations: 74.06 kB / 436.1 MB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.714e-05/0.2428, allocations: 16.25 kB / 436.2 MB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-05/0.2429, allocations: 84.52 kB / 436.2 MB, free: 15.55 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2429, allocations: 4.844 kB / 436.2 MB, free: 15.55 MB / 426.7 MB Notification: Performance of Templates: time 0.004497/0.2474, allocations: 2.206 MB / 438.4 MB, free: 15.47 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.435118271037936]