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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.567/1.567, allocations: 289.9 MB / 297.4 MB, free: 6.371 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 168.9 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007883/0.0007884, allocations: 85.78 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.256e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5685/0.5685, allocations: 116.3 MB / 0.9732 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.7264, allocations: 140.3 MB / 1.11 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.7268, allocations: 71.95 kB / 1.11 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009206/0.736, allocations: 3.466 MB / 1.114 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.262e-06/0.736, allocations: 2.062 kB / 1.114 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.7361, allocations: 4 kB / 1.114 GB, free: 6.422 MB / 0.7136 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.00054/0.7366, allocations: 436.3 kB / 1.114 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.7366, allocations: 12.03 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.7367, allocations: 16.38 kB / 1.114 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.737, allocations: 223.9 kB / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.737, allocations: 6.719 kB / 1.114 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.737, allocations: 19.92 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.952e-05/0.7371, allocations: 28.88 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.7373, allocations: 116 kB / 1.115 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.7373, allocations: 4 kB / 1.115 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.7374, allocations: 3.938 kB / 1.115 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.7374, allocations: 7.094 kB / 1.115 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000896/0.7383, allocations: 0.7203 MB / 1.115 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.356e-05/0.7383, allocations: 30.58 kB / 1.115 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.7384, allocations: 24.86 kB / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.7384, allocations: 0 / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.7386, allocations: 110.9 kB / 1.115 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.7386, allocations: 0 / 1.115 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002044/0.7388, allocations: 97.42 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.7389, allocations: 132.5 kB / 1.116 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.739, allocations: 157.5 kB / 1.116 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.739, allocations: 29.69 kB / 1.116 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.7391, allocations: 127.8 kB / 1.116 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.7392, allocations: 39.61 kB / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-06/0.7392, allocations: 0 / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.7393, allocations: 326.8 kB / 1.116 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.7393, allocations: 20.38 kB / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.7395, allocations: 136.3 kB / 1.116 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/0.7395, allocations: 39.92 kB / 1.116 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7395, allocations: 0 / 1.116 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000221/0.7398, allocations: 157.2 kB / 1.117 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.7398, allocations: 9.969 kB / 1.117 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.7398, allocations: 4 kB / 1.117 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.7398, allocations: 4 kB / 1.117 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.74, allocations: 42.55 kB / 1.117 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.299e-05/0.74, allocations: 8.453 kB / 1.117 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.7401, allocations: 31.83 kB / 1.117 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.7402, allocations: 8.094 kB / 1.117 GB, free: 3.047 MB / 0.7136 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,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete 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 7.597e-05/0.7402, allocations: 117.7 kB / 1.117 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.7403, allocations: 23.7 kB / 1.117 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.7403, allocations: 21.77 kB / 1.117 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.7403, allocations: 4 kB / 1.117 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7403, allocations: 1.75 kB / 1.117 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.7403, allocations: 4 kB / 1.117 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000557/0.7409, allocations: 470.1 kB / 1.117 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7409, allocations: 0 / 1.117 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.7411, allocations: 23.98 kB / 1.117 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7411, allocations: 4 kB / 1.117 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.7411, allocations: 4 kB / 1.117 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7411, allocations: 0 / 1.117 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.7411, allocations: 4 kB / 1.117 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.7414, allocations: 342.9 kB / 1.118 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.7415, allocations: 92.92 kB / 1.118 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.7415, allocations: 8.031 kB / 1.118 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.7417, allocations: 15.92 kB / 1.118 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.7417, allocations: 15.94 kB / 1.118 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.7417, allocations: 8 kB / 1.118 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.755e-05/0.7418, allocations: 124.3 kB / 1.118 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7418, allocations: 0 / 1.118 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000314/0.7421, allocations: 31.92 kB / 1.118 GB, free: 1.652 MB / 0.7136 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,intWitRes1.trigger,$whenCondition2) * Number of discrete 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.0001224/0.7423, allocations: 107.7 kB / 1.118 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.7424, allocations: 79.06 kB / 1.118 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7424, allocations: 1.531 kB / 1.118 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.622e-05/0.7425, allocations: 35.94 kB / 1.118 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.7429, allocations: 52.14 kB / 1.118 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.7433, allocations: 251.1 kB / 1.118 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.7436, allocations: 0.732 MB / 1.119 GB, free: 352 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.555e-05/0.7436, allocations: 17.64 kB / 1.119 GB, free: 336 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.7437, allocations: 15.44 kB / 1.119 GB, free: 320 kB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7437, allocations: 4 kB / 1.119 GB, free: 316 kB / 0.7136 GB Notification: Performance of Templates: time 0.003797/0.7475, allocations: 1.597 MB / 1.121 GB, free: 14.77 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (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)