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.005244/0.005244, allocations: 99.95 kB / 15.73 MB, free: 6.016 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.001201/0.001201, allocations: 187.5 kB / 16.67 MB, free: 5.93 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.8617/0.8617, allocations: 143.1 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 68.39 kB / 0.5951 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1545, allocations: 82.03 MB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00162/0.1562, allocations: 0.6016 MB / 0.6758 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002341/0.1564, allocations: 39.86 kB / 0.6758 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.1565, allocations: 0 / 0.6758 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.1565, allocations: 4 kB / 0.6758 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.243e-05/0.1566, allocations: 0 / 0.6758 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.1568, allocations: 15.98 kB / 0.6758 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.665e-05/0.1568, allocations: 0 / 0.6758 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.1569, allocations: 7.938 kB / 0.6759 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.1569, allocations: 0 / 0.6759 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.96e-05/0.157, allocations: 0 / 0.6759 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.157, allocations: 4 kB / 0.6759 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-05/0.1571, allocations: 19.98 kB / 0.6759 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.1571, allocations: 11.91 kB / 0.6759 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.1571, allocations: 11.94 kB / 0.6759 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.1572, allocations: 16.27 kB / 0.6759 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1573, allocations: 0 / 0.6759 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1573, allocations: 0 / 0.6759 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.1573, allocations: 0 / 0.6759 GB, free: 10.1 MB / 0.5137 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.0003167/0.1576, allocations: 353.2 kB / 0.6763 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1576, allocations: 12.03 kB / 0.6763 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.232e-05/0.1577, allocations: 30.75 kB / 0.6763 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.1577, allocations: 4.891 kB / 0.6763 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.115e-05/0.1578, allocations: 172.3 kB / 0.6765 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1578, allocations: 4.375 kB / 0.6765 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.1578, allocations: 384 / 0.6765 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.158, allocations: 58.19 kB / 0.6765 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.158, allocations: 3.938 kB / 0.6765 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.158, allocations: 3.984 kB / 0.6765 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.158, allocations: 8 kB / 0.6765 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.48e-05/0.1581, allocations: 23.98 kB / 0.6766 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.1584, allocations: 268.8 kB / 0.6768 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.393e-05/0.1584, allocations: 26.52 kB / 0.6768 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.1585, allocations: 4.859 kB / 0.6768 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-06/0.1585, allocations: 0 / 0.6768 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.1585, allocations: 38.97 kB / 0.6769 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.1585, allocations: 3.938 kB / 0.6769 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001678/0.1587, allocations: 63.39 kB / 0.6769 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.1587, allocations: 85.23 kB / 0.677 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.1588, allocations: 117.8 kB / 0.6771 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1589, allocations: 25.7 kB / 0.6772 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.1589, allocations: 107.9 kB / 0.6773 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/0.1589, allocations: 3.938 kB / 0.6773 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.159, allocations: 25.67 kB / 0.6773 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1591, allocations: 322.8 kB / 0.6776 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.1591, allocations: 8 kB / 0.6776 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-05/0.1592, allocations: 66.86 kB / 0.6777 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.1593, allocations: 134.1 kB / 0.6778 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1593, allocations: 0 / 0.6778 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001415/0.1595, allocations: 111.5 kB / 0.6779 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.1595, allocations: 45.72 kB / 0.678 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1595, allocations: 0 / 0.678 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1595, allocations: 4 kB / 0.678 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.1596, allocations: 15.94 kB / 0.678 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1596, allocations: 0 / 0.678 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.1597, allocations: 7.953 kB / 0.678 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.1597, allocations: 11.94 kB / 0.678 GB, free: 7.645 MB / 0.5137 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 8.666e-05/0.1598, allocations: 147.5 kB / 0.6781 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.1598, allocations: 7.938 kB / 0.6781 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.4e-05/0.1599, allocations: 15.45 kB / 0.6782 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1599, allocations: 0 / 0.6782 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1599, allocations: 0 / 0.6782 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1599, allocations: 0 / 0.6782 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.16, allocations: 157.6 kB / 0.6783 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.16, allocations: 0 / 0.6783 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.16, allocations: 4 kB / 0.6783 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1601, allocations: 0 / 0.6783 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.1601, allocations: 0 / 0.6783 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1601, allocations: 3.984 kB / 0.6783 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1601, allocations: 0 / 0.6783 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.1602, allocations: 165.2 kB / 0.6785 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.1602, allocations: 85.05 kB / 0.6786 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.1603, allocations: 4 kB / 0.6786 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.868e-05/0.1603, allocations: 0 / 0.6786 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.047e-05/0.1603, allocations: 0 / 0.6786 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1604, allocations: 4 kB / 0.6786 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.947e-05/0.1604, allocations: 103.3 kB / 0.6787 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1604, allocations: 3.938 kB / 0.6787 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002481/0.1607, allocations: 11.94 kB / 0.6787 GB, free: 6.84 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.0004392/0.1611, allocations: 0.6947 MB / 0.6794 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.1613, allocations: 87.36 kB / 0.6794 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1613, allocations: 0 / 0.6794 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.435e-05/0.1613, allocations: 63.34 kB / 0.6795 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.1615, allocations: 7.984 kB / 0.6795 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.1619, allocations: 138.5 kB / 0.6796 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.1622, allocations: 0.6768 MB / 0.6803 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.875e-05/0.1623, allocations: 16.55 kB / 0.6803 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.1623, allocations: 11.42 kB / 0.6803 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1623, allocations: 0 / 0.6803 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.18, allocations: 1.446 MB / 0.6817 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/7.88, allocations: 11.86 kB / 0.6817 GB, free: 3.719 MB / 0.5137 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)