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.0007745/0.0007745, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005165/0.005166, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.338/1.338, allocations: 223.3 MB / 240.3 MB, free: 5.34 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 1.001/1.001, allocations: 143.2 MB / 434.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003857, allocations: 8 kB / 0.5165 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1708, allocations: 83.42 MB / 0.598 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006223/0.1714, allocations: 319.1 kB / 0.5983 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002188/0.1716, allocations: 35.89 kB / 0.5983 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.395e-05/0.1717, allocations: 0 / 0.5983 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.1717, allocations: 4 kB / 0.5983 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.972e-05/0.1717, allocations: 4 kB / 0.5983 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.1719, allocations: 7.984 kB / 0.5983 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.09e-05/0.1719, allocations: 7.984 kB / 0.5983 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.172, allocations: 4 kB / 0.5983 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.759e-05/0.172, allocations: 0 / 0.5983 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.205e-05/0.172, allocations: 3.938 kB / 0.5983 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.172, allocations: 0 / 0.5983 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.511e-05/0.1721, allocations: 19.98 kB / 0.5984 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.1722, allocations: 0 / 0.5984 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.1722, allocations: 37.64 kB / 0.5984 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.092e-05/0.1723, allocations: 31.89 kB / 0.5984 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1723, allocations: 0 / 0.5984 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1723, allocations: 0 / 0.5984 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.1723, allocations: 0 / 0.5984 GB, free: 7.07 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.0002599/0.1726, allocations: 341.3 kB / 0.5988 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1726, allocations: 12.03 kB / 0.5988 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.1727, allocations: 34.73 kB / 0.5988 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.1727, allocations: 12.78 kB / 0.5988 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.617e-05/0.1728, allocations: 164.6 kB / 0.599 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.1728, allocations: 384 / 0.599 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.1728, allocations: 12.36 kB / 0.599 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.1729, allocations: 54.25 kB / 0.599 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1729, allocations: 3.938 kB / 0.599 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.1729, allocations: 7.938 kB / 0.599 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.173, allocations: 7.984 kB / 0.5991 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.541e-05/0.173, allocations: 27.92 kB / 0.5991 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.1733, allocations: 260.8 kB / 0.5993 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.414e-05/0.1733, allocations: 30.56 kB / 0.5994 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.1734, allocations: 4.859 kB / 0.5994 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.1734, allocations: 4.062 kB / 0.5994 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.1734, allocations: 30.56 kB / 0.5994 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1734, allocations: 0 / 0.5994 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000136/0.1735, allocations: 67.33 kB / 0.5995 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1736, allocations: 85.11 kB / 0.5995 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.009e-05/0.1737, allocations: 114 kB / 0.5997 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.1737, allocations: 25.7 kB / 0.5997 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.1737, allocations: 103.8 kB / 0.5998 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.1738, allocations: 7.891 kB / 0.5998 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.1738, allocations: 13.72 kB / 0.5998 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.1739, allocations: 322.8 kB / 0.6001 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.1739, allocations: 11.98 kB / 0.6001 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.731e-05/0.174, allocations: 58.86 kB / 0.6002 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.791e-05/0.1741, allocations: 134.1 kB / 0.6003 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1741, allocations: 0 / 0.6003 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001484/0.1742, allocations: 115.2 kB / 0.6004 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.1743, allocations: 37.64 kB / 0.6004 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1743, allocations: 4.25 kB / 0.6004 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1743, allocations: 4 kB / 0.6005 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.1744, allocations: 8 kB / 0.6005 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1744, allocations: 11.92 kB / 0.6005 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.1744, allocations: 15.84 kB / 0.6005 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1745, allocations: 7.938 kB / 0.6005 GB, free: 4.633 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.495e-05/0.1745, allocations: 139.5 kB / 0.6006 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.1746, allocations: 4 kB / 0.6006 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.518e-05/0.1746, allocations: 15.52 kB / 0.6006 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1746, allocations: 4 kB / 0.6006 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1746, allocations: 0 / 0.6006 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.1746, allocations: 0 / 0.6006 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.1747, allocations: 153.6 kB / 0.6008 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1747, allocations: 0 / 0.6008 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1748, allocations: 0 / 0.6008 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.1748, allocations: 0 / 0.6008 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.1748, allocations: 4 kB / 0.6008 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1748, allocations: 0 / 0.6008 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1748, allocations: 0 / 0.6008 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.1749, allocations: 177.1 kB / 0.601 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.1749, allocations: 85.02 kB / 0.601 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.1749, allocations: 0 / 0.601 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.007e-05/0.175, allocations: 4 kB / 0.6011 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/0.175, allocations: 0 / 0.6011 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.175, allocations: 4 kB / 0.6011 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.1751, allocations: 87.67 kB / 0.6011 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1751, allocations: 4.031 kB / 0.6011 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000231/0.1753, allocations: 16 kB / 0.6012 GB, free: 3.84 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.0003769/0.1757, allocations: 0.6985 MB / 0.6018 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.702e-05/0.1758, allocations: 91.72 kB / 0.6019 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1758, allocations: 0 / 0.6019 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.023e-05/0.1759, allocations: 55.41 kB / 0.602 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.176, allocations: 14.75 kB / 0.602 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.1764, allocations: 140.3 kB / 0.6021 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.1766, allocations: 0.6809 MB / 0.6028 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.661e-05/0.1767, allocations: 16.16 kB / 0.6028 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.1767, allocations: 11.44 kB / 0.6028 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1767, allocations: 0 / 0.6028 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.1869, allocations: 1.251 MB / 0.604 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.1871, allocations: 231.8 kB / 0.6043 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/1.845, allocations: 7.812 kB / 0.6043 GB, free: 0.6875 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)