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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 112 kB / 17.33 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 201.9 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8294/0.8294, allocations: 128.4 MB / 426.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 73.84 kB / 0.5912 GB, free: 21.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2051, allocations: 83.25 MB / 0.6725 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001836/0.2069, allocations: 0.5844 MB / 0.6731 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002571/0.2072, allocations: 43.86 kB / 0.6731 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.2072, allocations: 3.938 kB / 0.6731 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.782e-05/0.2072, allocations: 0 / 0.6731 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.482e-05/0.2073, allocations: 0 / 0.6731 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.2075, allocations: 4 kB / 0.6731 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.715e-05/0.2075, allocations: 15.98 kB / 0.6731 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.2076, allocations: 4 kB / 0.6731 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.899e-05/0.2076, allocations: 4 kB / 0.6731 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/0.2076, allocations: 0 / 0.6731 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.2077, allocations: 0 / 0.6731 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.951e-05/0.2077, allocations: 19.98 kB / 0.6732 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.2078, allocations: 15.86 kB / 0.6732 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.2078, allocations: 7.922 kB / 0.6732 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.2079, allocations: 23.92 kB / 0.6732 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2079, allocations: 0 / 0.6732 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2079, allocations: 0 / 0.6732 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.321e-06/0.2079, allocations: 4 kB / 0.6732 GB, free: 3.098 MB / 0.4981 GB 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.0004073/0.2083, allocations: 349.2 kB / 0.6735 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2084, allocations: 8.031 kB / 0.6736 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.2084, allocations: 12.89 kB / 0.6736 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2085, allocations: 160.4 kB / 0.6737 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.2085, allocations: 384 / 0.6737 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.2085, allocations: 384 / 0.6737 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.2087, allocations: 60.81 kB / 0.6738 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2087, allocations: 4.188 kB / 0.6738 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.2087, allocations: 7.938 kB / 0.6738 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.2087, allocations: 7.938 kB / 0.6738 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.2088, allocations: 23.98 kB / 0.6738 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.2092, allocations: 268.7 kB / 0.6741 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.372e-05/0.2092, allocations: 22.58 kB / 0.6741 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.2092, allocations: 8.797 kB / 0.6741 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.2093, allocations: 8.062 kB / 0.6741 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.2093, allocations: 30.56 kB / 0.6741 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2093, allocations: 3.938 kB / 0.6742 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000181/0.2095, allocations: 63.39 kB / 0.6742 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.2095, allocations: 85.11 kB / 0.6743 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2096, allocations: 109.8 kB / 0.6744 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.2097, allocations: 25.7 kB / 0.6744 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.2097, allocations: 112 kB / 0.6745 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.014e-06/0.2098, allocations: 4 kB / 0.6745 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.2098, allocations: 21.72 kB / 0.6746 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.21, allocations: 314.8 kB / 0.6749 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.21, allocations: 15.98 kB / 0.6749 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.467e-05/0.2101, allocations: 67.09 kB / 0.6749 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.2102, allocations: 134.5 kB / 0.6751 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2102, allocations: 0 / 0.6751 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001578/0.2104, allocations: 119.1 kB / 0.6752 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.2104, allocations: 33.7 kB / 0.6752 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.2104, allocations: 4 kB / 0.6752 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2104, allocations: 0 / 0.6752 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.2105, allocations: 19.92 kB / 0.6752 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2105, allocations: 4.25 kB / 0.6752 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.64e-05/0.2106, allocations: 4 kB / 0.6752 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.2106, allocations: 15.94 kB / 0.6753 GB, free: 0.6992 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.2107, allocations: 147.4 kB / 0.6754 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.2107, allocations: 7.953 kB / 0.6754 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.232e-05/0.2107, allocations: 3.531 kB / 0.6754 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.2107, allocations: 0 / 0.6754 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2107, allocations: 0 / 0.6754 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.2107, allocations: 0 / 0.6754 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.2109, allocations: 161.6 kB / 0.6756 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2109, allocations: 4 kB / 0.6756 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-06/0.2109, allocations: 4 kB / 0.6756 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2109, allocations: 0 / 0.6756 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.2109, allocations: 0 / 0.6756 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2109, allocations: 3.938 kB / 0.6756 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2109, allocations: 3.938 kB / 0.6756 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.2111, allocations: 165.2 kB / 0.6757 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.2111, allocations: 85.14 kB / 0.6758 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.2111, allocations: 0 / 0.6758 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.447e-05/0.2112, allocations: 0 / 0.6758 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.2112, allocations: 3.984 kB / 0.6758 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.2112, allocations: 7.984 kB / 0.6758 GB, free: 8 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.377e-05/0.2113, allocations: 87.33 kB / 0.6759 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2113, allocations: 0 / 0.6759 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002412/0.2115, allocations: 11.94 kB / 0.6759 GB, free: 15.91 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001765/0.2117, allocations: 115.2 kB / 0.676 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.2119, allocations: 91.27 kB / 0.6761 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2119, allocations: 0 / 0.6761 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.2119, allocations: 55.41 kB / 0.6762 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.2121, allocations: 0.8594 kB / 0.6762 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.2124, allocations: 113.5 kB / 0.6763 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.2127, allocations: 0.6768 MB / 0.6769 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000134/0.2129, allocations: 19.97 kB / 0.677 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.2129, allocations: 7.438 kB / 0.677 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.2129, allocations: 0 / 0.677 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of Templates: time 0.003069/0.216, allocations: 0.5328 MB / 0.6775 GB, free: 14.23 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (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) [Timeout 480]