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.001234/0.001234, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001298/0.001298, allocations: 173.3 kB / 23.02 MB, free: 1.547 MB / 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.9765/0.9765, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.001748/0.001748, allocations: 242 kB / 260.2 MB, free: 12.82 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.7419/0.7419, allocations: 138.4 MB / 455.2 MB, free: 1.5 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 1.643e-06/1.643e-06, allocations: 0 / 0.5551 GB, free: 468 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.662e-05, allocations: 2.312 kB / 0.5551 GB, free: 464 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.003269/0.003296, allocations: 1.861 MB / 0.557 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.00449, allocations: 0.5649 MB / 0.5575 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.004625, allocations: 7.875 kB / 0.5575 GB, free: 14 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.004784, allocations: 27.73 kB / 0.5575 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.801e-05/0.004882, allocations: 31.72 kB / 0.5576 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.005146, allocations: 63.86 kB / 0.5576 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.005409, allocations: 175.4 kB / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.005556, allocations: 33.78 kB / 0.5578 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.005702, allocations: 87.72 kB / 0.5579 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.846e-05/0.005781, allocations: 39.83 kB / 0.5579 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.005821, allocations: 12 kB / 0.558 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.079e-05/0.005841, allocations: 8 kB / 0.558 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.005879, allocations: 27.91 kB / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.005943, allocations: 39.84 kB / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.006133, allocations: 103.5 kB / 0.5581 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.006136, allocations: 0 / 0.5581 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006137, allocations: 0 / 0.5581 GB, free: 13.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.006143, allocations: 4 kB / 0.5581 GB, free: 13.36 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.0007265/0.006869, allocations: 0.5147 MB / 0.5586 GB, free: 12.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.006917, allocations: 16.67 kB / 0.5587 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.628e-05/0.006993, allocations: 28.84 kB / 0.5587 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.007265, allocations: 172.3 kB / 0.5588 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.007283, allocations: 8.375 kB / 0.5589 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.007318, allocations: 16.31 kB / 0.5589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.007588, allocations: 158.9 kB / 0.559 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.007598, allocations: 192 / 0.559 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.007616, allocations: 8.375 kB / 0.559 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.007626, allocations: 3.938 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.185e-05/0.007718, allocations: 43.86 kB / 0.5591 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009013/0.008619, allocations: 0.8896 MB / 0.5599 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.731e-05/0.008706, allocations: 39.05 kB / 0.56 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.008746, allocations: 15.69 kB / 0.56 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.008764, allocations: 4 kB / 0.56 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.008925, allocations: 119.9 kB / 0.5601 GB, free: 11.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.008927, allocations: 0 / 0.5601 GB, free: 11.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002901/0.009217, allocations: 109.5 kB / 0.5602 GB, free: 11.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.009295, allocations: 140.4 kB / 0.5604 GB, free: 10.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.00948, allocations: 233.7 kB / 0.5606 GB, free: 10.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.009499, allocations: 33.7 kB / 0.5606 GB, free: 10.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.009607, allocations: 191 kB / 0.5608 GB, free: 10.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.009637, allocations: 27.75 kB / 0.5608 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.009711, allocations: 51.31 kB / 0.5609 GB, free: 10.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.009869, allocations: 0.5001 MB / 0.5614 GB, free: 9.777 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.857e-05/0.009917, allocations: 15.98 kB / 0.5614 GB, free: 9.762 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.01004, allocations: 162.7 kB / 0.5615 GB, free: 9.531 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.01024, allocations: 210.4 kB / 0.5617 GB, free: 9.254 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01024, allocations: 0 / 0.5617 GB, free: 9.254 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000258/0.0105, allocations: 173.1 kB / 0.5619 GB, free: 9.078 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.01052, allocations: 8 kB / 0.5619 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.01052, allocations: 4 kB / 0.5619 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.01054, allocations: 8.438 kB / 0.5619 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.01066, allocations: 39.91 kB / 0.5619 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.01067, allocations: 7.938 kB / 0.562 GB, free: 9.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.01077, allocations: 23.89 kB / 0.562 GB, free: 8.988 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.01078, allocations: 8 kB / 0.562 GB, free: 8.98 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,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 0.0001073/0.01089, allocations: 181.5 kB / 0.5622 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.01093, allocations: 19.84 kB / 0.5622 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.01097, allocations: 21.47 kB / 0.5622 GB, free: 8.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01097, allocations: 0 / 0.5622 GB, free: 8.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01098, allocations: 0 / 0.5622 GB, free: 8.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.01098, allocations: 7.984 kB / 0.5622 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.0115, allocations: 0.5085 MB / 0.5627 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.0115, allocations: 4 kB / 0.5627 GB, free: 8.188 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.01158, allocations: 11.94 kB / 0.5627 GB, free: 8.176 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.01159, allocations: 4 kB / 0.5627 GB, free: 8.172 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.01161, allocations: 4 kB / 0.5627 GB, free: 8.168 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.01162, allocations: 7.984 kB / 0.5627 GB, free: 8.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01162, allocations: 0 / 0.5627 GB, free: 8.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.01193, allocations: 398.4 kB / 0.5631 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.01195, allocations: 19.91 kB / 0.5631 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.01197, allocations: 7.984 kB / 0.5631 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.01209, allocations: 4.047 kB / 0.5631 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.01215, allocations: 23.95 kB / 0.5632 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.01216, allocations: 4 kB / 0.5632 GB, free: 7.684 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.01226, allocations: 167 kB / 0.5633 GB, free: 7.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01226, allocations: 0 / 0.5633 GB, free: 7.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003561/0.01262, allocations: 39.88 kB / 0.5634 GB, free: 7.48 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 0.0001116/0.01273, allocations: 99.19 kB / 0.5635 GB, free: 7.375 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.01291, allocations: 83.47 kB / 0.5635 GB, free: 7.289 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.01292, allocations: 0 / 0.5635 GB, free: 7.289 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.01298, allocations: 39.59 kB / 0.5636 GB, free: 7.246 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.01354, allocations: 65.83 kB / 0.5636 GB, free: 7.191 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006548/0.0142, allocations: 337.8 kB / 0.564 GB, free: 6.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.691e-05/0.01426, allocations: 75.98 kB / 0.564 GB, free: 6.723 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.825e-05/0.01434, allocations: 17.48 kB / 0.5641 GB, free: 6.703 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.0144, allocations: 20.5 kB / 0.5641 GB, free: 6.684 MB / 490.7 MB Notification: Performance of SimCode: time 1.373e-06/0.0144, allocations: 0 / 0.5641 GB, free: 6.684 MB / 490.7 MB Notification: Performance of Templates: time 0.005807/0.02021, allocations: 2.284 MB / 0.5663 GB, free: 4.457 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.784049526322633]