Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 113.7 kB / 16.37 MB, free: 6.012 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.001134/0.001134, allocations: 188.9 kB / 17.3 MB, free: 5.613 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8894/0.8894, allocations: 143 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001232, allocations: 63.91 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3387, allocations: 82.04 MB / 0.5957 GB, free: 16.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001643/0.3404, allocations: 0.5783 MB / 0.5963 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002049/0.3406, allocations: 47.12 kB / 0.5963 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.3407, allocations: 0 / 0.5963 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.3407, allocations: 0.9688 kB / 0.5963 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.676e-05/0.3407, allocations: 0 / 0.5963 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.3409, allocations: 9.25 kB / 0.5963 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.801e-05/0.341, allocations: 11.98 kB / 0.5963 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.345e-05/0.341, allocations: 0 / 0.5963 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.743e-05/0.341, allocations: 8.562 kB / 0.5963 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.417e-05/0.3411, allocations: 1.344 kB / 0.5964 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.759e-06/0.3411, allocations: 0 / 0.5964 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.614e-05/0.3411, allocations: 19.92 kB / 0.5964 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.3412, allocations: 11.98 kB / 0.5964 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.3412, allocations: 4.562 kB / 0.5964 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.954e-05/0.3413, allocations: 27.91 kB / 0.5964 GB, free: 15.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3413, allocations: 1.094 kB / 0.5964 GB, free: 15.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3413, allocations: 0 / 0.5964 GB, free: 15.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.3413, allocations: 0 / 0.5964 GB, free: 15.61 MB / 446.1 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.0002169/0.3415, allocations: 346.7 kB / 0.5967 GB, free: 15.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.716e-05/0.3416, allocations: 8.031 kB / 0.5968 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.3416, allocations: 14.78 kB / 0.5968 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.249e-05/0.3417, allocations: 166.2 kB / 0.5969 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.3417, allocations: 384 / 0.5969 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.3417, allocations: 384 / 0.5969 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.3418, allocations: 62.23 kB / 0.597 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.3418, allocations: 7.188 kB / 0.597 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.3418, allocations: 3.938 kB / 0.597 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.3419, allocations: 11.92 kB / 0.597 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.625e-05/0.3419, allocations: 23.98 kB / 0.597 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.3421, allocations: 256.9 kB / 0.5973 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.347e-05/0.3422, allocations: 23.14 kB / 0.5973 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.351e-05/0.3422, allocations: 10.42 kB / 0.5973 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.3422, allocations: 0 / 0.5973 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.3422, allocations: 36 kB / 0.5973 GB, free: 14.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.3422, allocations: 0 / 0.5973 GB, free: 14.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.3424, allocations: 67.3 kB / 0.5974 GB, free: 14.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.3424, allocations: 81.86 kB / 0.5975 GB, free: 14.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.403e-05/0.3425, allocations: 119.3 kB / 0.5976 GB, free: 14.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.114e-06/0.3425, allocations: 29.64 kB / 0.5976 GB, free: 14.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.3425, allocations: 103.8 kB / 0.5977 GB, free: 14.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.3425, allocations: 3.906 kB / 0.5977 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.3425, allocations: 22.94 kB / 0.5977 GB, free: 14.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.347e-05/0.3426, allocations: 314.8 kB / 0.598 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.3426, allocations: 20.83 kB / 0.5981 GB, free: 13.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.3427, allocations: 64.2 kB / 0.5981 GB, free: 13.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.518e-05/0.3427, allocations: 122.5 kB / 0.5982 GB, free: 13.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3428, allocations: 1.594 kB / 0.5982 GB, free: 13.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001065/0.3429, allocations: 124.5 kB / 0.5984 GB, free: 13.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3429, allocations: 29.7 kB / 0.5984 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3429, allocations: 4.75 kB / 0.5984 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3429, allocations: 0 / 0.5984 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.835e-05/0.343, allocations: 20.8 kB / 0.5984 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.343, allocations: 4 kB / 0.5984 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.715e-05/0.3431, allocations: 14.88 kB / 0.5984 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.3431, allocations: 4 kB / 0.5984 GB, free: 13.24 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.384e-05/0.3431, allocations: 143.5 kB / 0.5986 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.3432, allocations: 7.984 kB / 0.5986 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.032e-05/0.3432, allocations: 3.531 kB / 0.5986 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.3432, allocations: 0 / 0.5986 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3432, allocations: 0 / 0.5986 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3432, allocations: 5.469 kB / 0.5986 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.443e-05/0.3433, allocations: 157.7 kB / 0.5987 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3433, allocations: 0 / 0.5987 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3433, allocations: 0 / 0.5987 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3433, allocations: 1.344 kB / 0.5987 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.3433, allocations: 3.938 kB / 0.5987 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.3433, allocations: 0 / 0.5987 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3433, allocations: 5.062 kB / 0.5988 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.597e-05/0.3434, allocations: 166.2 kB / 0.5989 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.3434, allocations: 85.02 kB / 0.599 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3435, allocations: 1.406 kB / 0.599 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.16e-05/0.3435, allocations: 0 / 0.599 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.3435, allocations: 4 kB / 0.599 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.3435, allocations: 5.453 kB / 0.599 GB, free: 12.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.5e-05/0.3436, allocations: 91.27 kB / 0.5991 GB, free: 12.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3436, allocations: 0 / 0.5991 GB, free: 12.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.3438, allocations: 13.22 kB / 0.5991 GB, free: 12.46 MB / 446.1 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 (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.000128/0.3439, allocations: 111.2 kB / 0.5992 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3441, allocations: 92.61 kB / 0.5993 GB, free: 12.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3441, allocations: 1.156 kB / 0.5993 GB, free: 12.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.78e-05/0.3441, allocations: 63.34 kB / 0.5994 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.3443, allocations: 4.688 kB / 0.5994 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001591/0.3445, allocations: 106.2 kB / 0.5995 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.738e-05/0.3446, allocations: 0.6768 MB / 0.6001 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.731e-05/0.3446, allocations: 21.06 kB / 0.6001 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-06/0.3446, allocations: 7.438 kB / 0.6002 GB, free: 11.31 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3446, allocations: 1.438 kB / 0.6002 GB, free: 11.31 MB / 446.1 MB Notification: Performance of Templates: time 0.002275/0.3469, allocations: 0.5121 MB / 0.6007 GB, free: 10.86 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)