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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: "" <> 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.005693/0.005693, allocations: 101 kB / 15.73 MB, free: 6.059 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.001247/0.001248, allocations: 194 kB / 16.68 MB, free: 5.969 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9129/0.9129, allocations: 143.3 MB / 433.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 68.95 kB / 0.5953 GB, free: 12.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1515, allocations: 82.04 MB / 0.6755 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001715/0.1533, allocations: 0.5868 MB / 0.676 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002406/0.1535, allocations: 39.88 kB / 0.6761 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.1535, allocations: 0 / 0.6761 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.1536, allocations: 0 / 0.6761 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.067e-05/0.1536, allocations: 4 kB / 0.6761 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.1538, allocations: 19.92 kB / 0.6761 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.795e-05/0.1539, allocations: 0 / 0.6761 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.1539, allocations: 4 kB / 0.6761 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.844e-05/0.154, allocations: 0 / 0.6761 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.154, allocations: 3.984 kB / 0.6761 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.154, allocations: 4 kB / 0.6761 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.47e-05/0.1541, allocations: 19.98 kB / 0.6761 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.1541, allocations: 3.938 kB / 0.6761 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.1542, allocations: 11.92 kB / 0.6761 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.063e-05/0.1543, allocations: 20.27 kB / 0.6762 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1543, allocations: 0 / 0.6762 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1543, allocations: 0 / 0.6762 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1543, allocations: 0 / 0.6762 GB, free: 9.855 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.000364/0.1547, allocations: 357.1 kB / 0.6765 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1547, allocations: 12.03 kB / 0.6765 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.1548, allocations: 38.67 kB / 0.6765 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.1548, allocations: 8.891 kB / 0.6766 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1549, allocations: 164.4 kB / 0.6767 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1549, allocations: 4.375 kB / 0.6767 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.1549, allocations: 4.312 kB / 0.6767 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.1551, allocations: 54.25 kB / 0.6768 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1551, allocations: 3.938 kB / 0.6768 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.1551, allocations: 0 / 0.6768 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.1551, allocations: 11.98 kB / 0.6768 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.279e-05/0.1552, allocations: 27.97 kB / 0.6768 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.1555, allocations: 264.8 kB / 0.6771 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.853e-05/0.1556, allocations: 26.52 kB / 0.6771 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.1556, allocations: 8.844 kB / 0.6771 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1556, allocations: 0 / 0.6771 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1557, allocations: 34.97 kB / 0.6771 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1557, allocations: 0 / 0.6771 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001822/0.1559, allocations: 63.41 kB / 0.6772 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.1559, allocations: 81.23 kB / 0.6773 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.156, allocations: 125.8 kB / 0.6774 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1561, allocations: 25.7 kB / 0.6774 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.1562, allocations: 107.9 kB / 0.6775 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.982e-06/0.1562, allocations: 0 / 0.6775 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.1562, allocations: 29.66 kB / 0.6775 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1564, allocations: 318.8 kB / 0.6779 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.1564, allocations: 11.98 kB / 0.6779 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.698e-05/0.1565, allocations: 66.86 kB / 0.6779 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1566, allocations: 130.1 kB / 0.6781 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1566, allocations: 0 / 0.6781 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000154/0.1568, allocations: 111.2 kB / 0.6782 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.1568, allocations: 41.89 kB / 0.6782 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1568, allocations: 0 / 0.6782 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1568, allocations: 4 kB / 0.6782 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.1569, allocations: 16 kB / 0.6782 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1569, allocations: 3.984 kB / 0.6782 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.305e-05/0.157, allocations: 7.953 kB / 0.6782 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.157, allocations: 11.94 kB / 0.6782 GB, free: 7.398 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 0.0001015/0.1571, allocations: 151.4 kB / 0.6784 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.1572, allocations: 4 kB / 0.6784 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.218e-05/0.1572, allocations: 7.531 kB / 0.6784 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1572, allocations: 3.984 kB / 0.6784 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1572, allocations: 3.938 kB / 0.6784 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1572, allocations: 0 / 0.6784 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.1574, allocations: 153.6 kB / 0.6785 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1574, allocations: 0 / 0.6785 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1574, allocations: 4 kB / 0.6786 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1574, allocations: 0 / 0.6786 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1574, allocations: 7.984 kB / 0.6786 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.1574, allocations: 0 / 0.6786 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1574, allocations: 4 kB / 0.6786 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.1576, allocations: 169.2 kB / 0.6787 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.1576, allocations: 81.06 kB / 0.6788 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.1576, allocations: 4 kB / 0.6788 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.324e-05/0.1577, allocations: 0 / 0.6788 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.1577, allocations: 3.938 kB / 0.6788 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.1577, allocations: 4 kB / 0.6788 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.456e-05/0.1578, allocations: 95.23 kB / 0.6789 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1578, allocations: 0 / 0.6789 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002413/0.158, allocations: 12 kB / 0.6789 GB, free: 6.598 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.0004947/0.1585, allocations: 0.6986 MB / 0.6796 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1587, allocations: 91.34 kB / 0.6797 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.1587, allocations: 0 / 0.6797 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/0.1587, allocations: 59.34 kB / 0.6797 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.159, allocations: 8 kB / 0.6797 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.1593, allocations: 138.5 kB / 0.6799 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.1597, allocations: 0.6768 MB / 0.6805 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.237e-05/0.1598, allocations: 20.53 kB / 0.6806 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.1598, allocations: 7.438 kB / 0.6806 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1598, allocations: 0 / 0.6806 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.1823, allocations: 1.456 MB / 0.682 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.117, allocations: 6.516 kB / 0.682 GB, free: 3.465 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)