Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.661/1.661, allocations: 285.4 MB / 298 MB, free: 6.027 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.001039/0.001039, allocations: 176.8 kB / 366.4 MB, free: 2.09 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.697/1.697, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008986/0.0008986, allocations: 92.2 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.486e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8969/0.897, allocations: 115.3 MB / 0.9709 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.27/1.167, allocations: 140 MB / 1.108 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/1.167, allocations: 67.97 kB / 1.108 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01228/1.18, allocations: 3.479 MB / 1.111 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.004e-06/1.18, allocations: 1.188 kB / 1.111 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.494e-05/1.18, allocations: 4 kB / 1.111 GB, free: 8.324 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.0007655/1.181, allocations: 434.8 kB / 1.111 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/1.181, allocations: 8.031 kB / 1.111 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.306e-05/1.181, allocations: 23.81 kB / 1.111 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/1.181, allocations: 231.2 kB / 1.112 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/1.181, allocations: 14.12 kB / 1.112 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/1.181, allocations: 12 kB / 1.112 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/1.182, allocations: 131.1 kB / 1.112 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.182, allocations: 0 / 1.112 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/1.182, allocations: 7.984 kB / 1.112 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/1.182, allocations: 4 kB / 1.112 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/1.182, allocations: 46.19 kB / 1.112 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/1.183, allocations: 0.7617 MB / 1.113 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/1.183, allocations: 42.5 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.347e-05/1.183, allocations: 20.86 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/1.183, allocations: 0 / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/1.184, allocations: 114 kB / 1.113 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.004e-06/1.184, allocations: 4 kB / 1.113 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003466/1.184, allocations: 109.4 kB / 1.113 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.184, allocations: 132.5 kB / 1.113 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/1.184, allocations: 174.4 kB / 1.113 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/1.184, allocations: 31.95 kB / 1.113 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/1.185, allocations: 131.8 kB / 1.113 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/1.185, allocations: 31.61 kB / 1.113 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/1.185, allocations: 8.062 kB / 1.113 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.185, allocations: 334.8 kB / 1.114 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/1.185, allocations: 24.38 kB / 1.114 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/1.185, allocations: 135.3 kB / 1.114 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/1.185, allocations: 48.05 kB / 1.114 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.185, allocations: 0 / 1.114 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004006/1.186, allocations: 181.9 kB / 1.114 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.186, allocations: 4 kB / 1.114 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.186, allocations: 4 kB / 1.114 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/1.186, allocations: 8 kB / 1.114 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/1.186, allocations: 40.42 kB / 1.114 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/1.186, allocations: 15.92 kB / 1.114 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/1.186, allocations: 23.83 kB / 1.114 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/1.186, allocations: 16 kB / 1.114 GB, free: 4.758 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 0.0001056/1.186, allocations: 124.8 kB / 1.114 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/1.186, allocations: 18.31 kB / 1.114 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/1.186, allocations: 21.52 kB / 1.114 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.186, allocations: 8 kB / 1.114 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.186, allocations: 0 / 1.114 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/1.186, allocations: 4 kB / 1.114 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008229/1.187, allocations: 0.49 MB / 1.115 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/1.187, allocations: 1.688 kB / 1.115 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/1.187, allocations: 27.92 kB / 1.115 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/1.187, allocations: 0 / 1.115 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/1.188, allocations: 4 kB / 1.115 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.188, allocations: 0 / 1.115 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.188, allocations: 0 / 1.115 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/1.188, allocations: 357.4 kB / 1.115 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.617e-05/1.188, allocations: 104.8 kB / 1.115 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/1.188, allocations: 3.938 kB / 1.115 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/1.188, allocations: 22.42 kB / 1.115 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/1.188, allocations: 15.98 kB / 1.115 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/1.188, allocations: 4 kB / 1.115 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001628/1.189, allocations: 140.6 kB / 1.116 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.41e-07/1.189, allocations: 0 / 1.116 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005455/1.189, allocations: 31.94 kB / 1.116 GB, free: 3.281 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.0001701/1.189, allocations: 105.5 kB / 1.116 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002597/1.19, allocations: 92.05 kB / 1.116 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.19, allocations: 0 / 1.116 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/1.19, allocations: 37.44 kB / 1.116 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/1.19, allocations: 57.5 kB / 1.116 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006121/1.191, allocations: 265.2 kB / 1.116 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/1.191, allocations: 0.7246 MB / 1.117 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001005/1.192, allocations: 24.11 kB / 1.117 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/1.192, allocations: 15.44 kB / 1.117 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/1.192, allocations: 0 / 1.117 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of Templates: time 0.005915/1.198, allocations: 1.752 MB / 1.119 GB, free: 232 kB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)