Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009717/0.0009717, allocations: 181.5 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.5048/0.5048, allocations: 92 MB / 108.5 MB, free: 13.07 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.495/1.495, allocations: 223.2 MB / 354.3 MB, free: 12.16 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.0008651/0.0008651, allocations: 107.1 kB / 427.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 15.98 kB / 0.4983 GB, free: 42.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1875, allocations: 72.32 MB / 0.5689 GB, free: 1.914 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4897/0.6772, allocations: 100.7 MB / 0.6673 GB, free: 3.742 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/0.6776, allocations: 79.94 kB / 0.6673 GB, free: 3.664 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0016/0.6792, allocations: 0.552 MB / 0.6679 GB, free: 3.117 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6793, allocations: 4 kB / 0.6679 GB, free: 3.113 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.6793, allocations: 0 / 0.6679 GB, free: 3.113 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003249/0.6796, allocations: 337.8 kB / 0.6682 GB, free: 2.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.6797, allocations: 12.03 kB / 0.6682 GB, free: 2.719 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.6797, allocations: 7.859 kB / 0.6682 GB, free: 2.711 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.6798, allocations: 170.4 kB / 0.6684 GB, free: 2.508 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.6799, allocations: 3.938 kB / 0.6684 GB, free: 2.504 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.6799, allocations: 8 kB / 0.6684 GB, free: 2.496 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.6801, allocations: 53.69 kB / 0.6684 GB, free: 2.438 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.6801, allocations: 0 / 0.6684 GB, free: 2.438 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.6801, allocations: 0 / 0.6684 GB, free: 2.438 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.6801, allocations: 7.984 kB / 0.6684 GB, free: 2.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.13e-05/0.6802, allocations: 23.94 kB / 0.6685 GB, free: 2.406 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.6806, allocations: 260.8 kB / 0.6687 GB, free: 2.102 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5e-05/0.6806, allocations: 26.52 kB / 0.6687 GB, free: 2.066 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.6806, allocations: 10.02 kB / 0.6688 GB, free: 2.059 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.6807, allocations: 31.31 kB / 0.6688 GB, free: 2.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.562e-06/0.6807, allocations: 0 / 0.6688 GB, free: 2.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.000205/0.6809, allocations: 63.47 kB / 0.6688 GB, free: 1.945 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.681, allocations: 81.11 kB / 0.6689 GB, free: 1.848 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.6811, allocations: 105 kB / 0.669 GB, free: 1.738 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.6811, allocations: 29.77 kB / 0.6691 GB, free: 1.703 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.6812, allocations: 107.8 kB / 0.6692 GB, free: 1.594 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.051e-05/0.6812, allocations: 7.906 kB / 0.6692 GB, free: 1.586 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.6812, allocations: 0 / 0.6692 GB, free: 1.586 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6813, allocations: 310.8 kB / 0.6695 GB, free: 1.273 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.6813, allocations: 15.98 kB / 0.6695 GB, free: 1.258 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.142e-05/0.6814, allocations: 63.48 kB / 0.6695 GB, free: 1.172 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.629e-05/0.6815, allocations: 45.69 kB / 0.6696 GB, free: 1.121 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6815, allocations: 0 / 0.6696 GB, free: 1.121 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002125/0.6817, allocations: 119.2 kB / 0.6697 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.6818, allocations: 33.66 kB / 0.6697 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.6818, allocations: 4 kB / 0.6697 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.6818, allocations: 0 / 0.6697 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.6819, allocations: 19.88 kB / 0.6697 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.6819, allocations: 7.984 kB / 0.6698 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.272e-05/0.682, allocations: 12.72 kB / 0.6698 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.682, allocations: 8 kB / 0.6698 GB, free: 0.9023 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001106/0.6822, allocations: 139.8 kB / 0.6699 GB, free: 0.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.6822, allocations: 7.938 kB / 0.6699 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.6823, allocations: 15.45 kB / 0.6699 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6823, allocations: 0 / 0.6699 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/0.6823, allocations: 4 kB / 0.6699 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6823, allocations: 0 / 0.6699 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.6825, allocations: 153.7 kB / 0.6701 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6825, allocations: 0.5 kB / 0.6701 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-07/0.6825, allocations: 0 / 0.6701 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6825, allocations: 0 / 0.6701 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.6825, allocations: 5.938 kB / 0.6701 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.6825, allocations: 7.891 kB / 0.6701 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6825, allocations: 0 / 0.6701 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.6827, allocations: 161.2 kB / 0.6702 GB, free: 340 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.6828, allocations: 85.02 kB / 0.6703 GB, free: 236 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.6828, allocations: 0 / 0.6703 GB, free: 236 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.2e-05/0.6828, allocations: 0 / 0.6703 GB, free: 236 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.6829, allocations: 7.984 kB / 0.6703 GB, free: 228 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.6829, allocations: 4 kB / 0.6703 GB, free: 224 kB / 458.7 MB Notification: Performance of sorting global known variables: time 5.979e-05/0.6829, allocations: 95.72 kB / 0.6704 GB, free: 128 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.683, allocations: 0 / 0.6704 GB, free: 128 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.6832, allocations: 8 kB / 0.6704 GB, free: 120 kB / 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002019/0.6834, allocations: 111.3 kB / 0.6705 GB, free: 0 / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.6836, allocations: 91.7 kB / 0.6706 GB, free: 15.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6836, allocations: 4 kB / 0.6706 GB, free: 15.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.6836, allocations: 59.39 kB / 0.6707 GB, free: 15.82 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.6838, allocations: 0 / 0.6707 GB, free: 15.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.684, allocations: 119 kB / 0.6708 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.6843, allocations: 0.677 MB / 0.6715 GB, free: 14.98 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.309e-05/0.6844, allocations: 20.28 kB / 0.6715 GB, free: 14.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.204e-05/0.6844, allocations: 7.438 kB / 0.6715 GB, free: 14.95 MB / 474.7 MB Notification: Performance of SimCode: time 6.31e-07/0.6844, allocations: 4 kB / 0.6715 GB, free: 14.94 MB / 474.7 MB Notification: Performance of Templates: time 0.002552/0.687, allocations: 488.6 kB / 0.672 GB, free: 14.48 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)