Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009778/0.0009778, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 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.001019/0.001019, allocations: 168.8 kB / 25.17 MB, free: 8.324 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.9798/0.9798, allocations: 177.2 MB / 205.6 MB, free: 4.008 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.923/1.923, allocations: 389.6 MB / 0.6364 GB, free: 13.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.674e-05, allocations: 6.25 kB / 0.7756 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.00215/0.002177, allocations: 1.888 MB / 0.7774 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008541/0.003031, allocations: 0.5725 MB / 0.778 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.325e-05/0.003125, allocations: 7.875 kB / 0.778 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.003251, allocations: 23.73 kB / 0.778 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.09e-05/0.003312, allocations: 27.75 kB / 0.778 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.003494, allocations: 67.84 kB / 0.7781 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.00366, allocations: 179.4 kB / 0.7783 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003766, allocations: 38.44 kB / 0.7783 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.166e-05/0.003857, allocations: 75.75 kB / 0.7784 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.004067, allocations: 39.88 kB / 0.7784 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.004091, allocations: 12 kB / 0.7784 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.004104, allocations: 11.94 kB / 0.7784 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.004131, allocations: 27.91 kB / 0.7785 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.00417, allocations: 47.83 kB / 0.7785 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.004302, allocations: 99.53 kB / 0.7786 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004305, allocations: 0 / 0.7786 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.004306, allocations: 0 / 0.7786 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.00431, allocations: 0 / 0.7786 GB, free: 11.41 MB / 0.7448 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.0004083/0.004718, allocations: 372 kB / 0.779 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.004748, allocations: 12.03 kB / 0.779 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.004784, allocations: 20.92 kB / 0.779 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.004953, allocations: 169.5 kB / 0.7792 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.004964, allocations: 8.375 kB / 0.7792 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.004988, allocations: 12.38 kB / 0.7792 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.005137, allocations: 139 kB / 0.7793 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.005144, allocations: 192 / 0.7793 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.005156, allocations: 8.375 kB / 0.7793 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.005162, allocations: 3.938 kB / 0.7793 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.887e-05/0.005201, allocations: 27.92 kB / 0.7794 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.005661, allocations: 0.5749 MB / 0.7799 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.964e-05/0.005711, allocations: 30.5 kB / 0.7799 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.005728, allocations: 12.86 kB / 0.78 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.005742, allocations: 3.984 kB / 0.78 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.459e-05/0.005836, allocations: 98.89 kB / 0.7801 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.005837, allocations: 0 / 0.7801 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0001503/0.005988, allocations: 93.86 kB / 0.7801 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.006045, allocations: 132.5 kB / 0.7803 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.702e-05/0.006142, allocations: 194.3 kB / 0.7805 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.006155, allocations: 29.7 kB / 0.7805 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.006208, allocations: 119.9 kB / 0.7806 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.006232, allocations: 39.73 kB / 0.7806 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.006276, allocations: 37.69 kB / 0.7807 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.006354, allocations: 330.8 kB / 0.781 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.006373, allocations: 12 kB / 0.781 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.088e-05/0.006434, allocations: 126.6 kB / 0.7811 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.006543, allocations: 170.5 kB / 0.7813 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006545, allocations: 0 / 0.7813 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001287/0.006673, allocations: 141.9 kB / 0.7814 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.006687, allocations: 11.94 kB / 0.7814 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.006694, allocations: 7.984 kB / 0.7814 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.006703, allocations: 4 kB / 0.7814 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.55e-05/0.006779, allocations: 31.92 kB / 0.7815 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.006785, allocations: 7.938 kB / 0.7815 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.646e-05/0.006841, allocations: 23.94 kB / 0.7815 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.006849, allocations: 8 kB / 0.7815 GB, free: 8.117 MB / 0.7448 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,intNoReset.trigger_internal,intDef.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 7.428e-05/0.006923, allocations: 125.7 kB / 0.7816 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.00694, allocations: 20.05 kB / 0.7816 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.006968, allocations: 25.39 kB / 0.7817 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.00697, allocations: 3.938 kB / 0.7817 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.006974, allocations: 4 kB / 0.7817 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.006978, allocations: 0 / 0.7817 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.007268, allocations: 337.9 kB / 0.782 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.007271, allocations: 7.984 kB / 0.782 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.007318, allocations: 19.88 kB / 0.782 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.007321, allocations: 0 / 0.782 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.007331, allocations: 4 kB / 0.782 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.007332, allocations: 8 kB / 0.782 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.007336, allocations: 3.984 kB / 0.782 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.007492, allocations: 268.4 kB / 0.7823 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.007509, allocations: 23.77 kB / 0.7823 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.007524, allocations: 8 kB / 0.7823 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.007586, allocations: 4 kB / 0.7823 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.007622, allocations: 15.97 kB / 0.7823 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.007628, allocations: 4 kB / 0.7824 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.334e-05/0.007661, allocations: 49.98 kB / 0.7824 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007662, allocations: 0 / 0.7824 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001783/0.00784, allocations: 35.95 kB / 0.7824 GB, free: 7.113 MB / 0.7448 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 8.348e-05/0.007923, allocations: 80.47 kB / 0.7825 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.008032, allocations: 80.58 kB / 0.7826 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.008038, allocations: 5 kB / 0.7826 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.008076, allocations: 24.8 kB / 0.7826 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.00834, allocations: 72.05 kB / 0.7827 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/0.008712, allocations: 353.2 kB / 0.783 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.105e-05/0.008783, allocations: 116.2 kB / 0.7831 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.349e-05/0.008876, allocations: 87.34 kB / 0.7832 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of SimCode: time 6.42e-07/0.008877, allocations: 0 / 0.7832 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.002627/0.0115, allocations: 2.147 MB / 0.7853 GB, free: 4.09 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset > Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.576636794954538]