Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 184 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4772/0.4772, allocations: 91.99 MB / 108.5 MB, free: 13.05 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.842/1.842, allocations: 223.2 MB / 354.3 MB, free: 12.21 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.0009577/0.0009577, allocations: 95.38 kB / 427.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003232, allocations: 12 kB / 0.4983 GB, free: 42.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1612, allocations: 72.31 MB / 0.5689 GB, free: 1.91 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5491/0.7103, allocations: 100.8 MB / 0.6673 GB, free: 3.664 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.7107, allocations: 75.94 kB / 0.6674 GB, free: 3.59 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001386/0.7121, allocations: 0.5368 MB / 0.6679 GB, free: 3.055 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.085e-06/0.7121, allocations: 2.297 kB / 0.6679 GB, free: 3.055 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.7121, allocations: 0 / 0.6679 GB, free: 3.055 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000248/0.7124, allocations: 311.2 kB / 0.6682 GB, free: 2.703 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.7124, allocations: 12.09 kB / 0.6682 GB, free: 2.691 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.7126, allocations: 23.92 kB / 0.6682 GB, free: 2.668 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.7127, allocations: 159.1 kB / 0.6684 GB, free: 2.473 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.7128, allocations: 0 / 0.6684 GB, free: 2.473 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.7128, allocations: 0 / 0.6684 GB, free: 2.473 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.7129, allocations: 37.69 kB / 0.6684 GB, free: 2.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.7129, allocations: 0 / 0.6684 GB, free: 2.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.713, allocations: 0 / 0.6684 GB, free: 2.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.713, allocations: 0 / 0.6684 GB, free: 2.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.936e-05/0.7131, allocations: 19.94 kB / 0.6684 GB, free: 2.41 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.7132, allocations: 149.6 kB / 0.6686 GB, free: 2.215 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.594e-05/0.7133, allocations: 25.95 kB / 0.6686 GB, free: 2.184 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.7133, allocations: 3.984 kB / 0.6686 GB, free: 2.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.7134, allocations: 34.56 kB / 0.6686 GB, free: 2.137 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.7134, allocations: 0 / 0.6686 GB, free: 2.137 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002275/0.7136, allocations: 45.75 kB / 0.6687 GB, free: 2.086 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.7137, allocations: 55.34 kB / 0.6687 GB, free: 2.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.332e-05/0.7137, allocations: 87.19 kB / 0.6688 GB, free: 1.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.7137, allocations: 25.7 kB / 0.6689 GB, free: 1.898 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.7138, allocations: 84.14 kB / 0.6689 GB, free: 1.812 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.7138, allocations: 8.516 kB / 0.6689 GB, free: 1.805 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.7138, allocations: 0 / 0.6689 GB, free: 1.805 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7139, allocations: 314.9 kB / 0.6692 GB, free: 1.488 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.453e-05/0.714, allocations: 12 kB / 0.6693 GB, free: 1.477 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/0.714, allocations: 3.984 kB / 0.6693 GB, free: 1.473 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.299e-05/0.7141, allocations: 4 kB / 0.6693 GB, free: 1.469 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.7141, allocations: 0 / 0.6693 GB, free: 1.469 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001099/0.7142, allocations: 41.69 kB / 0.6693 GB, free: 1.422 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.7142, allocations: 7.984 kB / 0.6693 GB, free: 1.414 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.7142, allocations: 4.094 kB / 0.6693 GB, free: 1.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.7142, allocations: 4.859 kB / 0.6693 GB, free: 1.406 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.486e-05/0.7143, allocations: 4 kB / 0.6693 GB, free: 1.402 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.7143, allocations: 0 / 0.6693 GB, free: 1.402 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.154e-05/0.7144, allocations: 0 / 0.6693 GB, free: 1.402 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.7144, allocations: 7.938 kB / 0.6693 GB, free: 1.395 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.097e-05/0.7144, allocations: 113.8 kB / 0.6694 GB, free: 1.273 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-06/0.7145, allocations: 0 / 0.6694 GB, free: 1.273 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.7145, allocations: 7.672 kB / 0.6694 GB, free: 1.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.7145, allocations: 0 / 0.6694 GB, free: 1.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.7145, allocations: 1.625 kB / 0.6694 GB, free: 1.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7145, allocations: 4 kB / 0.6694 GB, free: 1.266 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.7146, allocations: 157.6 kB / 0.6696 GB, free: 1.062 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.7146, allocations: 3.938 kB / 0.6696 GB, free: 1.059 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.7147, allocations: 4 kB / 0.6696 GB, free: 1.055 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.7147, allocations: 0 / 0.6696 GB, free: 1.055 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.7147, allocations: 0 / 0.6696 GB, free: 1.055 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.7147, allocations: 0 / 0.6696 GB, free: 1.055 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.7147, allocations: 4 kB / 0.6696 GB, free: 1.051 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.7148, allocations: 73.06 kB / 0.6697 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.7149, allocations: 77.11 kB / 0.6698 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.7149, allocations: 0 / 0.6698 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.976e-05/0.7149, allocations: 3.938 kB / 0.6698 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.715, allocations: 7.875 kB / 0.6698 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.715, allocations: 8.031 kB / 0.6698 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.469e-05/0.715, allocations: 75.28 kB / 0.6698 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.715, allocations: 0 / 0.6698 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001531/0.7152, allocations: 0 / 0.6698 GB, free: 0.7773 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001103/0.7153, allocations: 99.23 kB / 0.6699 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.7154, allocations: 11.98 kB / 0.67 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7154, allocations: 0 / 0.67 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.7155, allocations: 8.062 kB / 0.67 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.356e-05/0.7156, allocations: 0 / 0.67 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.7158, allocations: 90.48 kB / 0.67 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.7161, allocations: 0.6731 MB / 0.6707 GB, free: 15.84 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.343e-05/0.7162, allocations: 4.062 kB / 0.6707 GB, free: 15.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.7162, allocations: 15.38 kB / 0.6707 GB, free: 15.82 MB / 474.7 MB Notification: Performance of SimCode: time 3.21e-07/0.7162, allocations: 0 / 0.6707 GB, free: 15.82 MB / 474.7 MB Notification: Performance of Templates: time 0.001955/0.7182, allocations: 205.2 kB / 0.6709 GB, free: 15.62 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)