Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5163/0.5163, allocations: 90.81 MB / 104.5 MB, free: 13.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.3 MB / 348.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 94.22 kB / 421.2 MB, free: 5.68 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.873e-05, allocations: 4 kB / 0.4896 GB, free: 46.63 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1221, allocations: 72.31 MB / 0.5602 GB, free: 6.418 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3891/0.5112, allocations: 103.4 MB / 0.6612 GB, free: 4.461 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.5114, allocations: 75.89 kB / 0.6613 GB, free: 4.422 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008972/0.5204, allocations: 3.529 MB / 0.6647 GB, free: 1.406 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5205, allocations: 0 / 0.6647 GB, free: 1.406 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.5205, allocations: 4 kB / 0.6647 GB, free: 1.402 MB / 458.7 MB 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.0005597/0.5211, allocations: 436.2 kB / 0.6651 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5211, allocations: 15.92 kB / 0.6652 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.5212, allocations: 23.77 kB / 0.6652 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.5214, allocations: 232.6 kB / 0.6654 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.5215, allocations: 11.44 kB / 0.6654 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.5215, allocations: 15.25 kB / 0.6654 GB, free: 0.625 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.5217, allocations: 133.6 kB / 0.6656 GB, free: 0.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.5217, allocations: 4 kB / 0.6656 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.5218, allocations: 3.984 kB / 0.6656 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.5218, allocations: 7.953 kB / 0.6656 GB, free: 496 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.925e-05/0.5219, allocations: 46 kB / 0.6656 GB, free: 464 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009858/0.5229, allocations: 0.7557 MB / 0.6663 GB, free: 15.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.155e-05/0.523, allocations: 37.64 kB / 0.6664 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.523, allocations: 20.16 kB / 0.6664 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.5231, allocations: 8.141 kB / 0.6664 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.5232, allocations: 116.4 kB / 0.6665 GB, free: 15.49 MB / 474.7 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.5233, allocations: 0 / 0.6665 GB, free: 15.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002353/0.5235, allocations: 109 kB / 0.6666 GB, free: 15.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.5236, allocations: 132.5 kB / 0.6668 GB, free: 15.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.5237, allocations: 176.9 kB / 0.6669 GB, free: 15.08 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.5238, allocations: 28.77 kB / 0.6669 GB, free: 15.05 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.5238, allocations: 138.8 kB / 0.6671 GB, free: 14.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.5239, allocations: 38.97 kB / 0.6671 GB, free: 14.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/0.5239, allocations: 3.188 kB / 0.6671 GB, free: 14.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.524, allocations: 328.9 kB / 0.6674 GB, free: 14.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.332e-05/0.5241, allocations: 23 kB / 0.6675 GB, free: 14.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.5242, allocations: 128.1 kB / 0.6676 GB, free: 14.39 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.424e-05/0.5243, allocations: 47.36 kB / 0.6676 GB, free: 14.36 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5243, allocations: 4 kB / 0.6676 GB, free: 14.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002457/0.5245, allocations: 176.2 kB / 0.6678 GB, free: 14.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5245, allocations: 4.938 kB / 0.6678 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.5246, allocations: 4.5 kB / 0.6678 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.5246, allocations: 15.95 kB / 0.6678 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.5248, allocations: 39.03 kB / 0.6679 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.5248, allocations: 8 kB / 0.6679 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.5249, allocations: 27.52 kB / 0.6679 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.5249, allocations: 8 kB / 0.6679 GB, free: 14.1 MB / 474.7 MB 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 8.621e-05/0.525, allocations: 121.6 kB / 0.668 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.5251, allocations: 23.8 kB / 0.668 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.5251, allocations: 20.66 kB / 0.6681 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.5251, allocations: 0 / 0.6681 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.5251, allocations: 3.953 kB / 0.6681 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.5252, allocations: 7.984 kB / 0.6681 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005781/0.5257, allocations: 498.4 kB / 0.6685 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5257, allocations: 0 / 0.6685 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.5259, allocations: 23.23 kB / 0.6686 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.5259, allocations: 11.83 kB / 0.6686 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.5259, allocations: 4 kB / 0.6686 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5259, allocations: 3.984 kB / 0.6686 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.5259, allocations: 4 kB / 0.6686 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.5263, allocations: 359.1 kB / 0.6689 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.5263, allocations: 92.98 kB / 0.669 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.5264, allocations: 7.438 kB / 0.669 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.5265, allocations: 20.03 kB / 0.669 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.5266, allocations: 19.77 kB / 0.6691 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.5266, allocations: 4 kB / 0.6691 GB, free: 12.87 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.343e-05/0.5267, allocations: 137.5 kB / 0.6692 GB, free: 12.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5267, allocations: 0 / 0.6692 GB, free: 12.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000287/0.527, allocations: 31.33 kB / 0.6692 GB, free: 12.73 MB / 474.7 MB 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.000155/0.5272, allocations: 114.5 kB / 0.6693 GB, free: 12.61 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.5273, allocations: 89.19 kB / 0.6694 GB, free: 12.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5274, allocations: 0 / 0.6694 GB, free: 12.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-05/0.5274, allocations: 42.05 kB / 0.6695 GB, free: 12.51 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.5278, allocations: 51.77 kB / 0.6695 GB, free: 12.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.5284, allocations: 260.7 kB / 0.6698 GB, free: 12.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.5288, allocations: 0.7285 MB / 0.6705 GB, free: 11.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.166e-05/0.5288, allocations: 17.55 kB / 0.6705 GB, free: 11.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.5289, allocations: 15.44 kB / 0.6705 GB, free: 11.42 MB / 474.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5289, allocations: 0 / 0.6705 GB, free: 11.42 MB / 474.7 MB Notification: Performance of Templates: time 0.00429/0.5332, allocations: 1.75 MB / 0.6722 GB, free: 9.699 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)