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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.53/1.53, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.9676/0.9676, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 64.08 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1641, allocations: 82.04 MB / 0.5944 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001922/0.166, allocations: 0.5857 MB / 0.595 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002565/0.1663, allocations: 35.88 kB / 0.595 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.1663, allocations: 0 / 0.595 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.1664, allocations: 0 / 0.595 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.908e-05/0.1664, allocations: 3.938 kB / 0.595 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.1666, allocations: 11.98 kB / 0.595 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.231e-05/0.1667, allocations: 4 kB / 0.595 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.1668, allocations: 4 kB / 0.595 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.1668, allocations: 0 / 0.595 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.86e-05/0.1668, allocations: 7.938 kB / 0.595 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1668, allocations: 0 / 0.595 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.303e-05/0.1669, allocations: 23.97 kB / 0.5951 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.167, allocations: 7.984 kB / 0.5951 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.167, allocations: 3.938 kB / 0.5951 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.456e-05/0.1671, allocations: 27.92 kB / 0.5951 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1671, allocations: 0 / 0.5951 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1671, allocations: 0 / 0.5951 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1671, allocations: 0 / 0.5951 GB, free: 8.766 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.0002784/0.1674, allocations: 345.3 kB / 0.5954 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1674, allocations: 16.03 kB / 0.5954 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.1675, allocations: 38.69 kB / 0.5955 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.1675, allocations: 4.844 kB / 0.5955 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.389e-05/0.1676, allocations: 168.6 kB / 0.5956 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1676, allocations: 8.375 kB / 0.5957 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1676, allocations: 384 / 0.5957 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.1677, allocations: 58.23 kB / 0.5957 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1677, allocations: 3.938 kB / 0.5957 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.1678, allocations: 0 / 0.5957 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.1678, allocations: 12 kB / 0.5957 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.764e-05/0.1678, allocations: 27.86 kB / 0.5958 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.1681, allocations: 272.8 kB / 0.596 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.191e-05/0.1682, allocations: 18.58 kB / 0.596 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.1682, allocations: 4.859 kB / 0.596 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-06/0.1682, allocations: 0 / 0.596 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1683, allocations: 38.55 kB / 0.5961 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1683, allocations: 4.062 kB / 0.5961 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.1684, allocations: 67.34 kB / 0.5961 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.1685, allocations: 77.11 kB / 0.5962 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.1685, allocations: 113.8 kB / 0.5963 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1686, allocations: 33.69 kB / 0.5964 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.1686, allocations: 99.8 kB / 0.5964 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.407e-06/0.1686, allocations: 7.906 kB / 0.5965 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.1687, allocations: 29.83 kB / 0.5965 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1688, allocations: 318.8 kB / 0.5968 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.1688, allocations: 8 kB / 0.5968 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.873e-05/0.1689, allocations: 58.88 kB / 0.5969 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.901e-05/0.169, allocations: 134.1 kB / 0.597 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.169, allocations: 0 / 0.597 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001362/0.1691, allocations: 119.2 kB / 0.5971 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.1692, allocations: 37.69 kB / 0.5971 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1692, allocations: 0 / 0.5971 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1692, allocations: 4 kB / 0.5971 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.1693, allocations: 11.98 kB / 0.5971 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1693, allocations: 7.938 kB / 0.5972 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.1693, allocations: 16.09 kB / 0.5972 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1694, allocations: 11.94 kB / 0.5972 GB, free: 6.309 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 7.263e-05/0.1694, allocations: 143.5 kB / 0.5973 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.1695, allocations: 4 kB / 0.5973 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.397e-05/0.1695, allocations: 7.531 kB / 0.5973 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1695, allocations: 0 / 0.5973 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1695, allocations: 0 / 0.5973 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1695, allocations: 0 / 0.5973 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.1696, allocations: 157.6 kB / 0.5975 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1697, allocations: 0 / 0.5975 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.1697, allocations: 4 kB / 0.5975 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1697, allocations: 0 / 0.5975 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1697, allocations: 7.984 kB / 0.5975 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1697, allocations: 0 / 0.5975 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1697, allocations: 0 / 0.5975 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.1698, allocations: 169 kB / 0.5977 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.1698, allocations: 85.09 kB / 0.5977 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.1699, allocations: 11.94 kB / 0.5977 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.375e-05/0.1699, allocations: 4.031 kB / 0.5977 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.1699, allocations: 0 / 0.5977 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.17, allocations: 4 kB / 0.5978 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.17, allocations: 87.2 kB / 0.5978 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.17, allocations: 4 kB / 0.5978 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002526/0.1703, allocations: 12 kB / 0.5978 GB, free: 5.512 MB / 0.4981 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.0003869/0.1707, allocations: 0.7024 MB / 0.5985 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.1708, allocations: 83.33 kB / 0.5986 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1708, allocations: 3.938 kB / 0.5986 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.1708, allocations: 59.39 kB / 0.5987 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.171, allocations: 8.594 kB / 0.5987 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.1714, allocations: 142.5 kB / 0.5988 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.1716, allocations: 0.6845 MB / 0.5995 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.82e-05/0.1717, allocations: 11.97 kB / 0.5995 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.1718, allocations: 11.44 kB / 0.5995 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1718, allocations: 0 / 0.5995 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.188, allocations: 1.432 MB / 0.6009 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.759, allocations: 11.91 kB / 0.6009 GB, free: 2.375 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)