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.00151/0.00151, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001825/0.001825, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.9635/0.9635, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.001688/0.001688, allocations: 237.8 kB / 261.3 MB, free: 12.67 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.7164/0.7164, allocations: 138.4 MB / 456.3 MB, free: 1.41 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 2.164e-06/2.164e-06, allocations: 0 / 0.5564 GB, free: 232 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.712e-05, allocations: 9.625 kB / 0.5564 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.002472/0.002499, allocations: 1.852 MB / 0.5582 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009622/0.003461, allocations: 0.5532 MB / 0.5587 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.00357, allocations: 7.938 kB / 0.5587 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.003697, allocations: 27.67 kB / 0.5588 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.503e-05/0.003763, allocations: 27.73 kB / 0.5588 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.003966, allocations: 79.77 kB / 0.5589 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.004141, allocations: 167.4 kB / 0.559 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.004254, allocations: 37.77 kB / 0.5591 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.952e-05/0.004353, allocations: 75.81 kB / 0.5591 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.875e-05/0.004412, allocations: 47.81 kB / 0.5592 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.004434, allocations: 8 kB / 0.5592 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.004449, allocations: 12 kB / 0.5592 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.004477, allocations: 27.91 kB / 0.5592 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.004515, allocations: 39.84 kB / 0.5593 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.004647, allocations: 99.52 kB / 0.5594 GB, free: 13.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004649, allocations: 0 / 0.5594 GB, free: 13.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004649, allocations: 0 / 0.5594 GB, free: 13.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.004654, allocations: 0 / 0.5594 GB, free: 13.15 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.0008122/0.005466, allocations: 0.5302 MB / 0.5599 GB, free: 12.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.005499, allocations: 12.75 kB / 0.5599 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.005542, allocations: 28.83 kB / 0.5599 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.005723, allocations: 180.2 kB / 0.5601 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.005736, allocations: 8.375 kB / 0.5601 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.005759, allocations: 12.38 kB / 0.5601 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.005918, allocations: 154.1 kB / 0.5603 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.005927, allocations: 192 / 0.5603 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.005938, allocations: 8.312 kB / 0.5603 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.005946, allocations: 7.938 kB / 0.5603 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.255e-05/0.005988, allocations: 35.86 kB / 0.5603 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.006557, allocations: 0.8512 MB / 0.5611 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.651e-05/0.006613, allocations: 39.03 kB / 0.5612 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.006634, allocations: 23.67 kB / 0.5612 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.006648, allocations: 0 / 0.5612 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.006763, allocations: 116 kB / 0.5613 GB, free: 10.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 8.61e-07/0.006764, allocations: 0 / 0.5613 GB, free: 10.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001796/0.006943, allocations: 113.4 kB / 0.5614 GB, free: 10.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.006994, allocations: 132.5 kB / 0.5615 GB, free: 10.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.0071, allocations: 237.6 kB / 0.5618 GB, free: 10.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.007112, allocations: 29.7 kB / 0.5618 GB, free: 10.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.007186, allocations: 186.8 kB / 0.562 GB, free: 10.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.007209, allocations: 35.73 kB / 0.562 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.007254, allocations: 51.3 kB / 0.5621 GB, free: 10.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.007364, allocations: 0.5001 MB / 0.5625 GB, free: 9.605 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.007384, allocations: 8 kB / 0.5626 GB, free: 9.598 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.642e-05/0.007471, allocations: 177.4 kB / 0.5627 GB, free: 9.355 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.007592, allocations: 202.4 kB / 0.5629 GB, free: 9.086 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007594, allocations: 0 / 0.5629 GB, free: 9.086 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001574/0.007752, allocations: 165.2 kB / 0.5631 GB, free: 8.918 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.007765, allocations: 11.94 kB / 0.5631 GB, free: 8.906 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.007771, allocations: 4 kB / 0.5631 GB, free: 8.902 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.007781, allocations: 4.5 kB / 0.5631 GB, free: 8.898 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.007854, allocations: 35.92 kB / 0.5631 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.007859, allocations: 4 kB / 0.5631 GB, free: 8.859 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.199e-05/0.007921, allocations: 31.81 kB / 0.5632 GB, free: 8.828 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.007928, allocations: 4 kB / 0.5632 GB, free: 8.824 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,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 7.726e-05/0.008005, allocations: 173.1 kB / 0.5633 GB, free: 8.645 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.008029, allocations: 28.08 kB / 0.5634 GB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.008058, allocations: 21.45 kB / 0.5634 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.008061, allocations: 4.234 kB / 0.5634 GB, free: 8.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.008063, allocations: 4 kB / 0.5634 GB, free: 8.586 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.008068, allocations: 4 kB / 0.5634 GB, free: 8.582 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.008401, allocations: 489 kB / 0.5639 GB, free: 8.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.008403, allocations: 3.938 kB / 0.5639 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.00845, allocations: 11.98 kB / 0.5639 GB, free: 8.055 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.008453, allocations: 4 kB / 0.5639 GB, free: 8.051 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.008462, allocations: 0 / 0.5639 GB, free: 8.051 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.008464, allocations: 4 kB / 0.5639 GB, free: 8.047 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.008465, allocations: 0 / 0.5639 GB, free: 8.047 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.008673, allocations: 402.2 kB / 0.5643 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.008689, allocations: 15.84 kB / 0.5643 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.008704, allocations: 8 kB / 0.5643 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.008774, allocations: 11.98 kB / 0.5643 GB, free: 7.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.00881, allocations: 11.98 kB / 0.5643 GB, free: 7.578 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.008816, allocations: 4 kB / 0.5643 GB, free: 7.574 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.788e-05/0.008874, allocations: 163 kB / 0.5645 GB, free: 7.414 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008874, allocations: 0 / 0.5645 GB, free: 7.414 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.009091, allocations: 31.89 kB / 0.5645 GB, free: 7.383 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 7.504e-05/0.009166, allocations: 103.2 kB / 0.5646 GB, free: 7.273 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.009285, allocations: 83.44 kB / 0.5647 GB, free: 7.188 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.009288, allocations: 4 kB / 0.5647 GB, free: 7.184 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.00933, allocations: 35.61 kB / 0.5647 GB, free: 7.145 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.009668, allocations: 69.02 kB / 0.5648 GB, free: 7.086 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.01003, allocations: 331.1 kB / 0.5651 GB, free: 6.723 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.481e-05/0.01008, allocations: 79.86 kB / 0.5652 GB, free: 6.621 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.881e-05/0.01013, allocations: 13.48 kB / 0.5652 GB, free: 6.605 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.258e-05/0.01022, allocations: 110.2 kB / 0.5653 GB, free: 6.496 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01022, allocations: 0 / 0.5653 GB, free: 6.496 MB / 490.7 MB Notification: Performance of Templates: time 0.003999/0.01422, allocations: 2.375 MB / 0.5676 GB, free: 4.18 MB / 490.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.578820916824043]