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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 113.5 kB / 17.13 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 198.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] 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.002266/0.002266, allocations: 286.6 kB / 303.6 MB, free: 3.637 MB / 238.1 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 1.002/1.002, allocations: 180.9 MB / 0.5268 GB, free: 2.715 MB / 382.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002758/0.002758, allocations: 99.83 kB / 0.7259 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4969, allocations: 94.16 MB / 0.8179 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.002758/0.4997, allocations: 1.858 MB / 0.8197 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008633/0.5006, allocations: 0.5498 MB / 0.8202 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.759e-05/0.5007, allocations: 3 kB / 0.8202 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.5008, allocations: 23.09 kB / 0.8202 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.863e-05/0.5009, allocations: 26.66 kB / 0.8203 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.5011, allocations: 71 kB / 0.8203 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.5013, allocations: 174.7 kB / 0.8205 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.5014, allocations: 36.75 kB / 0.8205 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.5015, allocations: 57.64 kB / 0.8206 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.058e-05/0.5016, allocations: 56.52 kB / 0.8206 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.5016, allocations: 9.312 kB / 0.8207 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.357e-05/0.5016, allocations: 11 kB / 0.8207 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.5016, allocations: 30.77 kB / 0.8207 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.892e-05/0.5017, allocations: 63.16 kB / 0.8208 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.5019, allocations: 134.7 kB / 0.8209 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5019, allocations: 1.094 kB / 0.8209 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5019, allocations: 0 / 0.8209 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.5019, allocations: 0 / 0.8209 GB, free: 5.406 MB / 0.5762 GB 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.0006066/0.5025, allocations: 484.6 kB / 0.8213 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.5025, allocations: 9.688 kB / 0.8214 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.5026, allocations: 21.69 kB / 0.8214 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.5028, allocations: 236.2 kB / 0.8216 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.5028, allocations: 8.969 kB / 0.8216 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.5029, allocations: 16.72 kB / 0.8216 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.5031, allocations: 152.4 kB / 0.8218 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.5031, allocations: 0 / 0.8218 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.5032, allocations: 2.312 kB / 0.8218 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5032, allocations: 2.25 kB / 0.8218 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.5034, allocations: 80.75 kB / 0.8219 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007327/0.5041, allocations: 0.7333 MB / 0.8226 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.5043, allocations: 47.48 kB / 0.8226 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.5044, allocations: 34.44 kB / 0.8226 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.5044, allocations: 1.344 kB / 0.8227 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.5046, allocations: 135.3 kB / 0.8228 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.5046, allocations: 0 / 0.8228 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.000451/0.505, allocations: 164.9 kB / 0.8229 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.5051, allocations: 131.3 kB / 0.8231 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.5052, allocations: 205.4 kB / 0.8233 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.5053, allocations: 30.45 kB / 0.8233 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.5053, allocations: 125.6 kB / 0.8234 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.5053, allocations: 41.23 kB / 0.8234 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.5054, allocations: 43.55 kB / 0.8235 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.5054, allocations: 329.6 kB / 0.8238 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.5055, allocations: 35.3 kB / 0.8238 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.5057, allocations: 144.2 kB / 0.824 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.5059, allocations: 210.8 kB / 0.8242 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5059, allocations: 0 / 0.8242 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003429/0.5063, allocations: 209.9 kB / 0.8244 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.5063, allocations: 10.08 kB / 0.8244 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5063, allocations: 4.594 kB / 0.8244 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5063, allocations: 5.453 kB / 0.8244 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.5064, allocations: 32.39 kB / 0.8244 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.5064, allocations: 10.19 kB / 0.8244 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.5066, allocations: 27.48 kB / 0.8245 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.5066, allocations: 9.719 kB / 0.8245 GB, free: 2.391 MB / 0.5762 GB 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 7.361e-05/0.5066, allocations: 144.7 kB / 0.8246 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.5067, allocations: 18.72 kB / 0.8246 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.5067, allocations: 20.27 kB / 0.8246 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.5067, allocations: 4.719 kB / 0.8246 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5067, allocations: 0.5156 kB / 0.8246 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5067, allocations: 0.5156 kB / 0.8247 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006073/0.5073, allocations: 0.5151 MB / 0.8252 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.5073, allocations: 0.6094 kB / 0.8252 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.5074, allocations: 19.08 kB / 0.8252 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5074, allocations: 2.812 kB / 0.8252 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.5075, allocations: 1.781 kB / 0.8252 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5075, allocations: 5 kB / 0.8252 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5075, allocations: 4.547 kB / 0.8252 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.5079, allocations: 362.9 kB / 0.8255 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.5079, allocations: 95.31 kB / 0.8256 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.5079, allocations: 3.766 kB / 0.8256 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.5081, allocations: 20.34 kB / 0.8256 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.5081, allocations: 13.72 kB / 0.8257 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.5082, allocations: 14.17 kB / 0.8257 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.323e-05/0.5082, allocations: 137.3 kB / 0.8258 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5082, allocations: 0 / 0.8258 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003089/0.5085, allocations: 27.17 kB / 0.8258 GB, free: 1.297 MB / 0.5762 GB 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.0001043/0.5087, allocations: 113 kB / 0.8259 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002998/0.509, allocations: 109.2 kB / 0.826 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.509, allocations: 0 / 0.826 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.5091, allocations: 58.73 kB / 0.8261 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.5096, allocations: 65.89 kB / 0.8262 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.5101, allocations: 378.8 kB / 0.8265 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.5103, allocations: 0.7267 MB / 0.8272 GB, free: 140 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.5103, allocations: 19.78 kB / 0.8272 GB, free: 132 kB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.5103, allocations: 0 / 0.8272 GB, free: 132 kB / 0.5762 GB Notification: Performance of Templates: time 0.004156/0.5145, allocations: 2.156 MB / 0.8294 GB, free: 15.9 MB / 0.5919 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.10583573509939] Failed to read output from testmodel.py, exit status != 0: 0.5222058838699013 0.535032075 0.030496111000000003 Calling exit ...