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.001107/0.001107, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001109/0.001109, allocations: 191.2 kB / 16.14 MB, free: 6.688 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.004/1.004, allocations: 143 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 59.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1689, allocations: 82.04 MB / 0.5937 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002171/0.1711, allocations: 0.6504 MB / 0.5944 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003686/0.1714, allocations: 35.94 kB / 0.5944 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.1715, allocations: 0 / 0.5944 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.732e-05/0.1715, allocations: 3.938 kB / 0.5944 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.149e-05/0.1716, allocations: 0 / 0.5944 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.1718, allocations: 11.98 kB / 0.5944 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.5e-05/0.1719, allocations: 7.938 kB / 0.5944 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.1719, allocations: 0 / 0.5944 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.426e-05/0.1719, allocations: 8 kB / 0.5944 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.316e-05/0.172, allocations: 0 / 0.5944 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.172, allocations: 0 / 0.5944 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1721, allocations: 19.98 kB / 0.5945 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.1722, allocations: 7.984 kB / 0.5945 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.1722, allocations: 7.922 kB / 0.5945 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.1723, allocations: 23.92 kB / 0.5945 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1723, allocations: 0 / 0.5945 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1723, allocations: 4 kB / 0.5945 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.1723, allocations: 0 / 0.5945 GB, free: 9.191 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.0004398/0.1728, allocations: 353.3 kB / 0.5948 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.1728, allocations: 8.031 kB / 0.5948 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.1729, allocations: 30.75 kB / 0.5949 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.1729, allocations: 8.844 kB / 0.5949 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.173, allocations: 172.5 kB / 0.595 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1731, allocations: 384 / 0.595 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1731, allocations: 4.375 kB / 0.595 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1733, allocations: 58.19 kB / 0.5951 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1733, allocations: 3.938 kB / 0.5951 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1733, allocations: 3.984 kB / 0.5951 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.1733, allocations: 8 kB / 0.5951 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.571e-05/0.1734, allocations: 23.98 kB / 0.5951 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.1738, allocations: 268.7 kB / 0.5954 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.111e-05/0.1739, allocations: 18.58 kB / 0.5954 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.1739, allocations: 12.92 kB / 0.5954 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.1739, allocations: 0 / 0.5954 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.174, allocations: 38.56 kB / 0.5955 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.174, allocations: 0 / 0.5955 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002207/0.1742, allocations: 71.33 kB / 0.5955 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.1743, allocations: 77.11 kB / 0.5956 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.1744, allocations: 121.8 kB / 0.5957 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1744, allocations: 25.7 kB / 0.5957 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.1745, allocations: 103.8 kB / 0.5958 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.1745, allocations: 4.031 kB / 0.5959 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.1746, allocations: 25.72 kB / 0.5959 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1747, allocations: 322.8 kB / 0.5962 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.1747, allocations: 8 kB / 0.5962 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.1748, allocations: 58.86 kB / 0.5962 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.1749, allocations: 130.1 kB / 0.5964 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.175, allocations: 8 kB / 0.5964 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001481/0.1751, allocations: 115.2 kB / 0.5965 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.1752, allocations: 37.69 kB / 0.5965 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1752, allocations: 4 kB / 0.5965 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1752, allocations: 0 / 0.5965 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.924e-05/0.1753, allocations: 12 kB / 0.5965 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1753, allocations: 4 kB / 0.5965 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.1754, allocations: 16.09 kB / 0.5966 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.1754, allocations: 7.938 kB / 0.5966 GB, free: 6.746 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 0.0001181/0.1755, allocations: 147.5 kB / 0.5967 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.1756, allocations: 4 kB / 0.5967 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.488e-05/0.1756, allocations: 3.531 kB / 0.5967 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.1756, allocations: 0 / 0.5967 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1756, allocations: 0 / 0.5967 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1756, allocations: 4 kB / 0.5967 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.1758, allocations: 157.6 kB / 0.5969 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1758, allocations: 4 kB / 0.5969 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1758, allocations: 0 / 0.5969 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1758, allocations: 0 / 0.5969 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1758, allocations: 4 kB / 0.5969 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1758, allocations: 7.922 kB / 0.5969 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1758, allocations: 0 / 0.5969 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.176, allocations: 169 kB / 0.597 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.1761, allocations: 85.09 kB / 0.5971 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1761, allocations: 4.031 kB / 0.5971 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.427e-05/0.1761, allocations: 0 / 0.5971 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.1762, allocations: 4 kB / 0.5971 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1762, allocations: 3.938 kB / 0.5971 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.263e-05/0.1762, allocations: 99.27 kB / 0.5972 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1763, allocations: 0 / 0.5972 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002353/0.1765, allocations: 8 kB / 0.5972 GB, free: 5.945 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.000536/0.177, allocations: 0.7025 MB / 0.5979 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001362/0.1772, allocations: 87.27 kB / 0.598 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1772, allocations: 4 kB / 0.598 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.853e-05/0.1772, allocations: 55.94 kB / 0.5981 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.1774, allocations: 14.09 kB / 0.5981 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.1778, allocations: 144.4 kB / 0.5982 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.1781, allocations: 0.677 MB / 0.5989 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.1782, allocations: 11.98 kB / 0.5989 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.1783, allocations: 11.42 kB / 0.5989 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1783, allocations: 0 / 0.5989 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01117/0.1895, allocations: 1.307 MB / 0.6002 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.1897, allocations: 232.2 kB / 0.6004 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/1.821, allocations: 0 / 0.6004 GB, free: 2.715 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)