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.001791/0.001791, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00224/0.00224, allocations: 171.5 kB / 22.46 MB, free: 5.352 MB / 14.72 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.45/1.45, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.002399/0.002399, allocations: 229.9 kB / 259.4 MB, free: 0.4961 MB / 238.1 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 1.08/1.08, allocations: 138.4 MB / 454.3 MB, free: 1.957 MB / 366.1 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.102e-06/1.102e-06, allocations: 0 / 0.6468 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.375e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.003137/0.003161, allocations: 1.811 MB / 0.6486 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.00433, allocations: 0.5415 MB / 0.6491 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.004447, allocations: 3.938 kB / 0.6491 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.004586, allocations: 31.67 kB / 0.6491 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.914e-05/0.004685, allocations: 35.72 kB / 0.6492 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.004919, allocations: 63.84 kB / 0.6492 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.005224, allocations: 187.3 kB / 0.6494 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.005358, allocations: 33.78 kB / 0.6494 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.005514, allocations: 83.78 kB / 0.6495 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.86e-05/0.005592, allocations: 39.88 kB / 0.6496 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.005625, allocations: 8 kB / 0.6496 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.133e-05/0.005647, allocations: 12 kB / 0.6496 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.005683, allocations: 23.86 kB / 0.6496 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.542e-05/0.005749, allocations: 47.84 kB / 0.6496 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.005954, allocations: 135.4 kB / 0.6498 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005956, allocations: 4 kB / 0.6498 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005956, allocations: 0 / 0.6498 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.005962, allocations: 0 / 0.6498 GB, free: 1.926 MB / 0.5606 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.0007666/0.006728, allocations: 423.2 kB / 0.6502 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.006762, allocations: 9.344 kB / 0.6502 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/0.006817, allocations: 20.8 kB / 0.6502 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.007129, allocations: 181.4 kB / 0.6504 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.007145, allocations: 8.375 kB / 0.6504 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.00718, allocations: 12.38 kB / 0.6504 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.007499, allocations: 150.3 kB / 0.6505 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.00751, allocations: 192 / 0.6505 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.007526, allocations: 4.375 kB / 0.6506 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.007535, allocations: 7.938 kB / 0.6506 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.007782, allocations: 75.81 kB / 0.6506 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009404/0.008722, allocations: 0.6494 MB / 0.6513 GB, free: 284 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.0089, allocations: 50.55 kB / 0.6513 GB, free: 224 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.00901, allocations: 32.77 kB / 0.6513 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.009032, allocations: 7.984 kB / 0.6514 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.009277, allocations: 126.7 kB / 0.6515 GB, free: 28 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.009278, allocations: 0 / 0.6515 GB, free: 28 kB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.2519/0.2612, allocations: 155.7 kB / 0.6516 GB, free: 57.06 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.2612, allocations: 139 kB / 0.6518 GB, free: 56.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.2614, allocations: 181.8 kB / 0.6519 GB, free: 56.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.2614, allocations: 29.14 kB / 0.652 GB, free: 56.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.2615, allocations: 133.1 kB / 0.6521 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.2615, allocations: 40.39 kB / 0.6521 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.2615, allocations: 46.7 kB / 0.6522 GB, free: 56.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.5e-05/0.2616, allocations: 329.3 kB / 0.6525 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.2617, allocations: 38.8 kB / 0.6525 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.2618, allocations: 146.8 kB / 0.6527 GB, free: 56.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.2621, allocations: 200 kB / 0.6528 GB, free: 56.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2621, allocations: 5.125 kB / 0.6529 GB, free: 56.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003521/0.2625, allocations: 210.5 kB / 0.6531 GB, free: 56.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2625, allocations: 7.938 kB / 0.6531 GB, free: 56.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2625, allocations: 3.281 kB / 0.6531 GB, free: 56.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.2625, allocations: 4.438 kB / 0.6531 GB, free: 56.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.2626, allocations: 36.55 kB / 0.6531 GB, free: 56.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2626, allocations: 7.75 kB / 0.6531 GB, free: 56.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.2628, allocations: 25.23 kB / 0.6531 GB, free: 56.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.2628, allocations: 8.281 kB / 0.6531 GB, free: 56.02 MB / 0.5606 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.621e-05/0.2629, allocations: 143.2 kB / 0.6533 GB, free: 55.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.2629, allocations: 15.56 kB / 0.6533 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.2629, allocations: 27.19 kB / 0.6533 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.2629, allocations: 0 / 0.6533 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2629, allocations: 4.375 kB / 0.6533 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2629, allocations: 0 / 0.6533 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006042/0.2635, allocations: 456.4 kB / 0.6538 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2635, allocations: 3.625 kB / 0.6538 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.2636, allocations: 13.91 kB / 0.6538 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2636, allocations: 4.562 kB / 0.6538 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.2637, allocations: 9.172 kB / 0.6538 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2637, allocations: 1.375 kB / 0.6538 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2637, allocations: 6.609 kB / 0.6538 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.2641, allocations: 351.9 kB / 0.6541 GB, free: 55.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.2641, allocations: 21.33 kB / 0.6542 GB, free: 55.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.2641, allocations: 6.938 kB / 0.6542 GB, free: 55.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.2643, allocations: 14.73 kB / 0.6542 GB, free: 55.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.2643, allocations: 22.5 kB / 0.6542 GB, free: 55.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.2643, allocations: 3.562 kB / 0.6542 GB, free: 55.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.597e-05/0.2644, allocations: 133 kB / 0.6543 GB, free: 55.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2644, allocations: 0 / 0.6543 GB, free: 55.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003301/0.2647, allocations: 31.23 kB / 0.6544 GB, free: 55.25 MB / 0.5606 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 9.54e-05/0.2648, allocations: 109.4 kB / 0.6545 GB, free: 55.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002866/0.2651, allocations: 108.8 kB / 0.6546 GB, free: 55.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2651, allocations: 0 / 0.6546 GB, free: 55.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.2653, allocations: 53.11 kB / 0.6546 GB, free: 55.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.2658, allocations: 65.67 kB / 0.6547 GB, free: 55.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.2663, allocations: 329.3 kB / 0.655 GB, free: 54.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.058e-05/0.2663, allocations: 121.5 kB / 0.6551 GB, free: 54.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.856e-05/0.2664, allocations: 16.97 kB / 0.6551 GB, free: 54.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.2664, allocations: 18.97 kB / 0.6551 GB, free: 54.84 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.2664, allocations: 6.125 kB / 0.6551 GB, free: 54.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.004846/0.2713, allocations: 2.118 MB / 0.6572 GB, free: 54.68 MB / 0.5606 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.784467551857233] Failed to read output from testmodel.py, exit status != 0: 0.2787950336933136 0.287749495 0.27965586400000003 Calling exit ...