Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.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.Media.Examples.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties",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.00473/0.00473, 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.001261/0.001261, allocations: 194.3 kB / 16.67 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.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 1.009/1.009, allocations: 143.3 MB / 433.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 67.89 kB / 0.5953 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3742, allocations: 82.03 MB / 0.6754 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.1629/0.5371, allocations: 136.1 MB / 0.8084 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03817/0.5753, allocations: 22.34 MB / 0.8302 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.5756, allocations: 4 kB / 0.8302 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.576, allocations: 39.69 kB / 0.8302 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004263/0.5765, allocations: 103.3 kB / 0.8303 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.02699/0.6035, allocations: 6.668 MB / 0.8368 GB, free: 304 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.6039, allocations: 251.9 kB / 0.8371 GB, free: 52 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.604, allocations: 5.562 kB / 0.8371 GB, free: 48 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.6043, allocations: 143.4 kB / 0.8372 GB, free: 15.91 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.6045, allocations: 91.66 kB / 0.8373 GB, free: 15.82 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.6046, allocations: 12 kB / 0.8373 GB, free: 15.8 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02283/0.6274, allocations: 10.96 MB / 0.848 GB, free: 4.832 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.6276, allocations: 39.89 kB / 0.8481 GB, free: 4.793 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.6277, allocations: 87.58 kB / 0.8482 GB, free: 4.707 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01642/0.6442, allocations: 6.166 MB / 0.8542 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.6442, allocations: 0 / 0.8542 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.479e-06/0.6442, allocations: 4 kB / 0.8542 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.6442, allocations: 0 / 0.8542 GB, free: 14.52 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003811/0.6481, allocations: 1.223 MB / 0.8554 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.6481, allocations: 11.97 kB / 0.8554 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.001e-05/0.6482, allocations: 58.73 kB / 0.8554 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.6494, allocations: 88.69 kB / 0.8555 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.6497, allocations: 232.1 kB / 0.8557 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.6498, allocations: 11.94 kB / 0.8558 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.6498, allocations: 19.98 kB / 0.8558 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.6511, allocations: 449.1 kB / 0.8562 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.6511, allocations: 4 kB / 0.8562 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.6511, allocations: 8 kB / 0.8562 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.6511, allocations: 4 kB / 0.8562 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.6524, allocations: 0.5976 MB / 0.8568 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.6536, allocations: 0.89 MB / 0.8577 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/0.6545, allocations: 251.5 kB / 0.8579 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.6546, allocations: 72.83 kB / 0.858 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3915/1.046, allocations: 35.42 MB / 0.8926 GB, free: 165.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/1.046, allocations: 42.53 kB / 0.8926 GB, free: 165.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=25): time 1.733e-06/1.046, allocations: 0 / 0.8926 GB, free: 165.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25): time 0.001546/1.048, allocations: 418 kB / 0.893 GB, free: 165.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/1.048, allocations: 61.58 kB / 0.8931 GB, free: 165.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.527e-05/1.048, allocations: 141.1 kB / 0.8932 GB, free: 165.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/1.048, allocations: 34.92 kB / 0.8932 GB, free: 165.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/1.048, allocations: 115 kB / 0.8933 GB, free: 165 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/1.048, allocations: 89.11 kB / 0.8934 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/1.048, allocations: 75.5 kB / 0.8935 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.234e-05/1.048, allocations: 330.7 kB / 0.8938 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/1.048, allocations: 80.27 kB / 0.8939 GB, free: 164.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/1.049, allocations: 129.3 kB / 0.894 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/1.049, allocations: 221.3 kB / 0.8942 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.049, allocations: 0 / 0.8942 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006007/1.049, allocations: 305.5 kB / 0.8945 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.05, allocations: 7.438 kB / 0.8945 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/1.05, allocations: 160 / 0.8945 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.05, allocations: 7.75 kB / 0.8945 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/1.05, allocations: 74.47 kB / 0.8946 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/1.05, allocations: 10.97 kB / 0.8946 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/1.05, allocations: 18.64 kB / 0.8946 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/1.05, allocations: 26.17 kB / 0.8947 GB, free: 164.1 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 9.128e-05/1.05, allocations: 130.9 kB / 0.8948 GB, free: 164 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/1.05, allocations: 17.5 kB / 0.8948 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/1.052, allocations: 2.35 MB / 0.8971 GB, free: 162.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/1.052, allocations: 11.95 kB / 0.8971 GB, free: 162.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.052, allocations: 3.938 kB / 0.8971 GB, free: 162.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.052, allocations: 3.844 kB / 0.8971 GB, free: 162.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/1.054, allocations: 3.429 MB / 0.9005 GB, free: 160.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.054, allocations: 0 / 0.9005 GB, free: 160.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/1.054, allocations: 63.22 kB / 0.9005 GB, free: 160.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.054, allocations: 0 / 0.9005 GB, free: 160.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/1.054, allocations: 8.406 kB / 0.9005 GB, free: 160.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.054, allocations: 0 / 0.9005 GB, free: 160.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.054, allocations: 4 kB / 0.9005 GB, free: 160.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/1.055, allocations: 0.5427 MB / 0.9011 GB, free: 160.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/1.055, allocations: 150.7 kB / 0.9012 GB, free: 159.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/1.055, allocations: 4 kB / 0.9012 GB, free: 159.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/1.055, allocations: 11.94 kB / 0.9012 GB, free: 159.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/1.055, allocations: 19.61 kB / 0.9012 GB, free: 159.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/1.055, allocations: 11.81 kB / 0.9013 GB, free: 159.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.742e-05/1.056, allocations: 113 kB / 0.9014 GB, free: 159.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/1.056, allocations: 0 / 0.9014 GB, free: 159.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003574/1.059, allocations: 1.65 MB / 0.903 GB, free: 159.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.006234/1.065, allocations: 2.904 MB / 0.9058 GB, free: 156.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004722/1.066, allocations: 316.6 kB / 0.9061 GB, free: 156.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.066, allocations: 8.062 kB / 0.9061 GB, free: 156.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/1.066, allocations: 248 kB / 0.9064 GB, free: 156.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/1.067, allocations: 60.08 kB / 0.9064 GB, free: 156.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/1.07, allocations: 3.087 MB / 0.9094 GB, free: 152.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/1.07, allocations: 0.7661 MB / 0.9102 GB, free: 152.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004013/1.07, allocations: 405.1 kB / 0.9106 GB, free: 151.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/1.071, allocations: 103.4 kB / 0.9107 GB, free: 151.6 MB / 0.6856 GB Notification: Performance of SimCode: time 2.7e-07/1.071, allocations: 0 / 0.9107 GB, free: 151.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08635/1.157, allocations: 60.89 MB / 0.9701 GB, free: 90.78 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.73, allocations: 7.062 kB / 0.9701 GB, free: 90.77 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties_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_Media_Examples_SteamProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe 2>&1)