Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001068/0.001068, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001168/0.001168, allocations: 191.3 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 472.6 MB / 0.7448 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 69.59 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3239, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003635/0.3276, allocations: 1.882 MB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009984/0.3286, allocations: 0.5337 MB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.3287, allocations: 7.938 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.3289, allocations: 11.86 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.512e-05/0.329, allocations: 31.78 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.3292, allocations: 59.88 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.3294, allocations: 159.5 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.3296, allocations: 57.64 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.296e-05/0.3297, allocations: 51.73 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.34e-05/0.3298, allocations: 67.62 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.3298, allocations: 8 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.516e-05/0.3299, allocations: 12 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.3299, allocations: 31.84 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.53e-05/0.33, allocations: 67.61 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.3302, allocations: 123.7 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.3302, allocations: 7.875 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3302, allocations: 0 / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.3303, allocations: 4 kB / 1.071 GB, free: 7.641 MB / 0.8262 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.0007898/0.3311, allocations: 472.6 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3311, allocations: 8.031 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.3312, allocations: 20.75 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.3315, allocations: 227.9 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3315, allocations: 8.375 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.3315, allocations: 12.38 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.3319, allocations: 150.2 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3319, allocations: 3.984 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.3319, allocations: 8 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.3319, allocations: 0 / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.3322, allocations: 75.88 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009917/0.3332, allocations: 0.7392 MB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.3333, allocations: 50.5 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.3334, allocations: 32.83 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.3335, allocations: 0 / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003121/0.3338, allocations: 126.7 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.3338, allocations: 0 / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0005112/0.3343, allocations: 165.3 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.637e-05/0.3344, allocations: 140.7 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.3347, allocations: 202.7 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.3347, allocations: 33.7 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.3348, allocations: 128 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.3349, allocations: 31.55 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/0.3349, allocations: 49.61 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3351, allocations: 326.8 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3353, allocations: 43.97 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.3355, allocations: 138.8 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.3358, allocations: 206.3 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.3358, allocations: 8 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003772/0.3362, allocations: 209.3 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3362, allocations: 4 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.3362, allocations: 4 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3362, allocations: 8 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3364, allocations: 31.92 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3364, allocations: 7.984 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.3365, allocations: 28.08 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.3366, allocations: 12 kB / 1.074 GB, free: 3.598 MB / 0.8262 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 0.0001761/0.3367, allocations: 140.6 kB / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.3368, allocations: 15.81 kB / 1.074 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.3368, allocations: 25.33 kB / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3368, allocations: 4.234 kB / 1.074 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3368, allocations: 0 / 1.074 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3369, allocations: 0 / 1.074 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008322/0.3377, allocations: 0.5248 MB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3377, allocations: 0 / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.3378, allocations: 19.92 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3378, allocations: 0 / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.3379, allocations: 4 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3379, allocations: 0 / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.3379, allocations: 7.938 kB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.3384, allocations: 360.2 kB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.3384, allocations: 92.95 kB / 1.075 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.3385, allocations: 8 kB / 1.075 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.3386, allocations: 11.98 kB / 1.075 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.3387, allocations: 15.92 kB / 1.075 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.3387, allocations: 4 kB / 1.075 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001154/0.3388, allocations: 139.2 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3388, allocations: 0 / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000342/0.3392, allocations: 31.91 kB / 1.076 GB, free: 2.105 MB / 0.8262 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.0001378/0.3393, allocations: 119.6 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.3397, allocations: 111.8 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3397, allocations: 1 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.3398, allocations: 56.09 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.3404, allocations: 67.7 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006383/0.3411, allocations: 376.6 kB / 1.076 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.3415, allocations: 0.7242 MB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.354e-05/0.3416, allocations: 17.81 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.3416, allocations: 23.44 kB / 1.077 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3416, allocations: 3.938 kB / 1.077 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of Templates: time 0.005048/0.3467, allocations: 1.916 MB / 1.079 GB, free: 14.66 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)