Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001155, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.822/1.822, allocations: 292.5 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004968, allocations: 19.19 kB / 0.6735 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2624, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002138/0.2646, allocations: 1.477 MB / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009858/0.2656, allocations: 0.5507 MB / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.2657, allocations: 7.938 kB / 0.7891 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.981e-05/0.2658, allocations: 11.86 kB / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.2659, allocations: 31.88 kB / 0.7891 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.2662, allocations: 47.89 kB / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.2664, allocations: 119.7 kB / 0.7893 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.2666, allocations: 37.84 kB / 0.7893 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.2667, allocations: 39.8 kB / 0.7894 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.656e-05/0.2668, allocations: 51.69 kB / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.2668, allocations: 4 kB / 0.7894 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.2668, allocations: 4 kB / 0.7894 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.2668, allocations: 15.92 kB / 0.7894 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/0.2669, allocations: 49.58 kB / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.267, allocations: 92.05 kB / 0.7896 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.267, allocations: 0 / 0.7896 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2671, allocations: 0 / 0.7896 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2671, allocations: 0 / 0.7896 GB, free: 9.402 MB / 0.6075 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.0007727/0.2678, allocations: 454.6 kB / 0.79 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2679, allocations: 12.03 kB / 0.79 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.2679, allocations: 19.8 kB / 0.79 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.2682, allocations: 226.6 kB / 0.7903 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.2682, allocations: 8 kB / 0.7903 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.2683, allocations: 15.91 kB / 0.7903 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.2686, allocations: 153.9 kB / 0.7904 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2686, allocations: 0 / 0.7904 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.2686, allocations: 4 kB / 0.7904 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.2687, allocations: 3.938 kB / 0.7904 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.2689, allocations: 91.83 kB / 0.7905 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/0.2698, allocations: 0.7395 MB / 0.7912 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.27, allocations: 50.48 kB / 0.7913 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.27, allocations: 4 kB / 0.7913 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002915/0.2703, allocations: 130.6 kB / 0.7914 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.2703, allocations: 0 / 0.7914 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004853/0.2708, allocations: 185.5 kB / 0.7916 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.2709, allocations: 140.4 kB / 0.7917 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.2711, allocations: 199.5 kB / 0.7919 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.2711, allocations: 33.77 kB / 0.792 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.2712, allocations: 131.8 kB / 0.7921 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.2713, allocations: 31.7 kB / 0.7921 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.2713, allocations: 4 kB / 0.7921 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.2715, allocations: 326.8 kB / 0.7924 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2716, allocations: 44.34 kB / 0.7925 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.2718, allocations: 149.7 kB / 0.7926 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.272, allocations: 63.98 kB / 0.7927 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.2721, allocations: 4 kB / 0.7927 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003896/0.2725, allocations: 213 kB / 0.7929 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2725, allocations: 8 kB / 0.7929 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2725, allocations: 4.5 kB / 0.7929 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.2725, allocations: 8 kB / 0.7929 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.2727, allocations: 39.92 kB / 0.7929 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.2727, allocations: 7.984 kB / 0.7929 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.2728, allocations: 39.72 kB / 0.793 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2728, allocations: 8 kB / 0.793 GB, free: 5.574 MB / 0.6075 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 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.273, allocations: 129.8 kB / 0.7931 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.273, allocations: 19.72 kB / 0.7931 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.2731, allocations: 25.33 kB / 0.7932 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2731, allocations: 4 kB / 0.7932 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2731, allocations: 3.938 kB / 0.7932 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2731, allocations: 4 kB / 0.7932 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007569/0.2738, allocations: 0.5249 MB / 0.7937 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2739, allocations: 0 / 0.7937 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.274, allocations: 23.98 kB / 0.7937 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.274, allocations: 3.938 kB / 0.7937 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.274, allocations: 8 kB / 0.7937 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.274, allocations: 3.953 kB / 0.7937 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.274, allocations: 8.219 kB / 0.7937 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/0.2746, allocations: 413.2 kB / 0.7941 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.2747, allocations: 92.92 kB / 0.7942 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.2747, allocations: 8 kB / 0.7942 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.2749, allocations: 15.98 kB / 0.7942 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.275, allocations: 19.92 kB / 0.7943 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.275, allocations: 7.984 kB / 0.7943 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001174/0.2751, allocations: 140.5 kB / 0.7944 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2751, allocations: 0 / 0.7944 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003219/0.2754, allocations: 24 kB / 0.7944 GB, free: 3.984 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/0.2756, allocations: 115.5 kB / 0.7945 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.2759, allocations: 124.4 kB / 0.7946 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2759, allocations: 0 / 0.7946 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.2761, allocations: 51.91 kB / 0.7947 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.2765, allocations: 64.77 kB / 0.7948 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/0.2771, allocations: 386.7 kB / 0.7951 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.2774, allocations: 0.7284 MB / 0.7958 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.456e-05/0.2775, allocations: 17.55 kB / 0.7959 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.2776, allocations: 15.44 kB / 0.7959 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2776, allocations: 4 kB / 0.7959 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of Templates: time 0.004749/0.2823, allocations: 1.732 MB / 0.7976 GB, free: 0.7305 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) Environment - environmentSimulation: