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.001618/0.001617, 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.002292/0.002292, allocations: 197.1 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.465/1.465, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.056/1.056, allocations: 143 MB / 433.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.001211, allocations: 71.91 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1963, allocations: 82.04 MB / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002477/0.1989, allocations: 0.5686 MB / 0.595 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003384/0.1992, allocations: 39.88 kB / 0.595 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.1993, allocations: 0 / 0.595 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.03e-05/0.1994, allocations: 0 / 0.595 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.891e-05/0.1994, allocations: 0 / 0.595 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.1997, allocations: 15.92 kB / 0.595 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.1999, allocations: 4 kB / 0.595 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.194e-05/0.1999, allocations: 11.97 kB / 0.595 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.143e-05/0.2, allocations: 4 kB / 0.595 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.701e-05/0.2, allocations: 7.938 kB / 0.595 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.2001, allocations: 0 / 0.595 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.2002, allocations: 15.98 kB / 0.5951 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.611e-05/0.2002, allocations: 7.984 kB / 0.5951 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.2003, allocations: 3.938 kB / 0.5951 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.2004, allocations: 27.92 kB / 0.5951 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.2004, allocations: 3.984 kB / 0.5951 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2004, allocations: 0 / 0.5951 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.2004, allocations: 3.938 kB / 0.5951 GB, free: 8.801 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.0004307/0.2009, allocations: 349.3 kB / 0.5954 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.2009, allocations: 8.031 kB / 0.5954 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.201, allocations: 38.73 kB / 0.5955 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.201, allocations: 4.844 kB / 0.5955 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2012, allocations: 164.6 kB / 0.5956 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.2012, allocations: 4.312 kB / 0.5956 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.2012, allocations: 4.375 kB / 0.5956 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.2014, allocations: 58.25 kB / 0.5957 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2014, allocations: 7.938 kB / 0.5957 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.2014, allocations: 3.984 kB / 0.5957 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.2015, allocations: 7.984 kB / 0.5957 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.528e-05/0.2015, allocations: 23.98 kB / 0.5957 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.2019, allocations: 268.8 kB / 0.596 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.869e-05/0.202, allocations: 22.5 kB / 0.596 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.179e-05/0.202, allocations: 12.92 kB / 0.596 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.2021, allocations: 4 kB / 0.596 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.2021, allocations: 30.56 kB / 0.5961 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.943e-06/0.2021, allocations: 0 / 0.5961 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000211/0.2023, allocations: 67.39 kB / 0.5961 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.2024, allocations: 77.11 kB / 0.5962 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.2025, allocations: 117.8 kB / 0.5963 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.2025, allocations: 25.7 kB / 0.5963 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.2026, allocations: 103.9 kB / 0.5964 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.2026, allocations: 11.89 kB / 0.5965 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.2027, allocations: 21.72 kB / 0.5965 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2028, allocations: 318.8 kB / 0.5968 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.2028, allocations: 7.984 kB / 0.5968 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.203, allocations: 63.17 kB / 0.5968 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.2031, allocations: 138.1 kB / 0.597 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2031, allocations: 0 / 0.597 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001669/0.2033, allocations: 119.2 kB / 0.5971 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.2033, allocations: 32.2 kB / 0.5971 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2033, allocations: 4 kB / 0.5971 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2033, allocations: 4 kB / 0.5971 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.66e-05/0.2034, allocations: 12.23 kB / 0.5971 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.2034, allocations: 12.14 kB / 0.5972 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-05/0.2035, allocations: 11.84 kB / 0.5972 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.2035, allocations: 7.938 kB / 0.5972 GB, free: 6.355 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.0001122/0.2037, allocations: 147.5 kB / 0.5973 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.2037, allocations: 0 / 0.5973 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.372e-05/0.2037, allocations: 7.516 kB / 0.5973 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2037, allocations: 7.938 kB / 0.5973 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2037, allocations: 0 / 0.5973 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2037, allocations: 0 / 0.5973 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.2039, allocations: 161.6 kB / 0.5975 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2039, allocations: 0 / 0.5975 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.2039, allocations: 0 / 0.5975 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2039, allocations: 0 / 0.5975 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.2039, allocations: 0 / 0.5975 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2039, allocations: 4 kB / 0.5975 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2039, allocations: 0 / 0.5975 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.204, allocations: 173.1 kB / 0.5977 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.2041, allocations: 77.11 kB / 0.5977 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.2041, allocations: 0 / 0.5977 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.2042, allocations: 4 kB / 0.5977 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.2042, allocations: 3.938 kB / 0.5977 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.2042, allocations: 4 kB / 0.5977 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.208e-05/0.2043, allocations: 99.27 kB / 0.5978 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2043, allocations: 0 / 0.5978 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002577/0.2046, allocations: 12 kB / 0.5978 GB, free: 5.559 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.0005229/0.2051, allocations: 0.7025 MB / 0.5985 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.2053, allocations: 83.33 kB / 0.5986 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.2053, allocations: 4.469 kB / 0.5986 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.814e-05/0.2053, allocations: 63.34 kB / 0.5987 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.2056, allocations: 4.062 kB / 0.5987 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.2061, allocations: 146.5 kB / 0.5988 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.2065, allocations: 0.6806 MB / 0.5995 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001711/0.2067, allocations: 11.98 kB / 0.5995 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.2067, allocations: 11.44 kB / 0.5995 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.2067, allocations: 4 kB / 0.5995 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.2285, allocations: 1.421 MB / 0.6009 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.688, allocations: 6.359 kB / 0.6009 GB, free: 2.434 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)