Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.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.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",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.00103/0.00103, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001024/0.001024, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.467/1.467, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.02/1.02, allocations: 143 MB / 433.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 55.91 kB / 0.5138 GB, free: 11.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1993, allocations: 82.05 MB / 0.5939 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002901/0.2022, allocations: 1.591 MB / 0.5955 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003042/0.2026, allocations: 108.6 kB / 0.5956 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.2026, allocations: 3.938 kB / 0.5956 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.2028, allocations: 4 kB / 0.5956 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.932e-05/0.2028, allocations: 7.922 kB / 0.5956 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.203, allocations: 27.91 kB / 0.5956 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.046e-05/0.2031, allocations: 51.91 kB / 0.5957 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2033, allocations: 23.98 kB / 0.5957 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.245e-05/0.2033, allocations: 27.86 kB / 0.5957 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.609e-05/0.2034, allocations: 31.91 kB / 0.5957 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.2034, allocations: 7.938 kB / 0.5957 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.2035, allocations: 11.98 kB / 0.5958 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.265e-05/0.2035, allocations: 23.86 kB / 0.5958 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.2036, allocations: 19.86 kB / 0.5958 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.2037, allocations: 55.81 kB / 0.5958 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2037, allocations: 4 kB / 0.5959 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2037, allocations: 0 / 0.5959 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.2037, allocations: 0 / 0.5959 GB, free: 7.758 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000546/0.2043, allocations: 383.6 kB / 0.5962 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2043, allocations: 8.031 kB / 0.5962 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.2044, allocations: 34.73 kB / 0.5963 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.2044, allocations: 8.844 kB / 0.5963 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.2046, allocations: 188.2 kB / 0.5964 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.2046, allocations: 4.375 kB / 0.5965 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.2046, allocations: 8.375 kB / 0.5965 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.205, allocations: 86.14 kB / 0.5965 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.205, allocations: 7.875 kB / 0.5965 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.205, allocations: 4 kB / 0.5966 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.205, allocations: 0 / 0.5966 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.2053, allocations: 83.91 kB / 0.5966 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.2059, allocations: 324.6 kB / 0.5969 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.2061, allocations: 70.52 kB / 0.597 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.2063, allocations: 36.91 kB / 0.597 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.2063, allocations: 4 kB / 0.597 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.2064, allocations: 30.56 kB / 0.5971 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2064, allocations: 0 / 0.5971 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000536/0.2069, allocations: 141.6 kB / 0.5972 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.207, allocations: 55.41 kB / 0.5973 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.2071, allocations: 113.8 kB / 0.5974 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.2071, allocations: 25.7 kB / 0.5974 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.2072, allocations: 104 kB / 0.5975 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.2072, allocations: 7.906 kB / 0.5975 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.2072, allocations: 13.72 kB / 0.5975 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2074, allocations: 322.8 kB / 0.5978 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2075, allocations: 31.97 kB / 0.5979 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.2077, allocations: 35.95 kB / 0.5979 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.2079, allocations: 80.66 kB / 0.598 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2079, allocations: 0 / 0.598 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003422/0.2083, allocations: 109.5 kB / 0.5981 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2083, allocations: 4 kB / 0.5981 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2083, allocations: 4 kB / 0.5981 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2083, allocations: 0 / 0.5981 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.2085, allocations: 15.98 kB / 0.5981 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2085, allocations: 0 / 0.5981 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.559e-05/0.2086, allocations: 15.97 kB / 0.5981 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.2086, allocations: 0 / 0.5981 GB, free: 5.207 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001058/0.2087, allocations: 117.8 kB / 0.5982 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.2087, allocations: 11.91 kB / 0.5982 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.2091, allocations: 117.4 kB / 0.5983 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2091, allocations: 4 kB / 0.5983 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2091, allocations: 0 / 0.5983 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.2092, allocations: 0 / 0.5983 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.2094, allocations: 181.6 kB / 0.5985 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2094, allocations: 0 / 0.5985 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.2095, allocations: 19.98 kB / 0.5985 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2095, allocations: 4 kB / 0.5985 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.2095, allocations: 0 / 0.5985 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2095, allocations: 0 / 0.5985 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2095, allocations: 0 / 0.5985 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.2099, allocations: 207.7 kB / 0.5987 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.2099, allocations: 85.02 kB / 0.5988 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.21, allocations: 4.031 kB / 0.5988 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.2101, allocations: 11.97 kB / 0.5988 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.2101, allocations: 4 kB / 0.5988 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.2102, allocations: 0 / 0.5988 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.958e-05/0.2102, allocations: 95.27 kB / 0.5989 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2102, allocations: 0 / 0.5989 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002246/0.2105, allocations: 19.88 kB / 0.599 GB, free: 4.234 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0006756/0.2111, allocations: 0.7358 MB / 0.5997 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.2115, allocations: 83.84 kB / 0.5998 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2115, allocations: 0 / 0.5998 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.2117, allocations: 43.95 kB / 0.5998 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.212, allocations: 4 kB / 0.5998 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.2138, allocations: 1.438 MB / 0.6012 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.2141, allocations: 0.7001 MB / 0.6019 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.223e-05/0.2142, allocations: 11.98 kB / 0.6019 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.2142, allocations: 11.44 kB / 0.6019 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.2142, allocations: 0 / 0.6019 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3018/0.516, allocations: 1.614 MB / 0.6035 GB, free: 44 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001331/0.5162, allocations: 194.8 kB / 0.6037 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.237, allocations: 0 / 0.6037 GB, free: 43.75 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)