Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.00135/0.00135, allocations: 109.4 kB / 15.69 MB, free: 128 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.001539/0.001539, allocations: 186 kB / 16.62 MB, free: 6.582 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.347/1.347, allocations: 222.9 MB / 240.3 MB, free: 4.316 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 0.9755/0.9755, allocations: 143 MB / 433.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 63.91 kB / 0.5144 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1848, allocations: 82.05 MB / 0.5945 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005088/0.1899, allocations: 3.718 MB / 0.5982 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002173/0.1902, allocations: 151.5 kB / 0.5983 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/0.1902, allocations: 0 / 0.5983 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.1904, allocations: 11.86 kB / 0.5983 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.567e-05/0.1904, allocations: 15.92 kB / 0.5983 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.1908, allocations: 79.69 kB / 0.5984 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.1909, allocations: 31.91 kB / 0.5984 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.191, allocations: 3.984 kB / 0.5984 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.501e-05/0.191, allocations: 15.94 kB / 0.5985 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.704e-05/0.1911, allocations: 19.91 kB / 0.5985 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1911, allocations: 4 kB / 0.5985 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005621/0.1917, allocations: 179.4 kB / 0.5986 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.1918, allocations: 15.97 kB / 0.5987 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.1918, allocations: 4 kB / 0.5987 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1919, allocations: 44.12 kB / 0.5987 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1919, allocations: 0 / 0.5987 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.192, allocations: 0 / 0.5987 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.192, allocations: 0 / 0.5987 GB, free: 5.074 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004069/0.1924, allocations: 339.5 kB / 0.599 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1924, allocations: 16.03 kB / 0.599 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.1925, allocations: 30.75 kB / 0.5991 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.1925, allocations: 0.9375 kB / 0.5991 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.1926, allocations: 176.2 kB / 0.5992 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.857e-05/0.1927, allocations: 26.27 kB / 0.5993 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.1927, allocations: 4.125 kB / 0.5993 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.1928, allocations: 45.69 kB / 0.5993 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1929, allocations: 0 / 0.5993 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1929, allocations: 0 / 0.5993 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.1929, allocations: 4 kB / 0.5993 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.73e-05/0.193, allocations: 15.98 kB / 0.5993 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.1934, allocations: 334 kB / 0.5997 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.777e-05/0.1934, allocations: 22.52 kB / 0.5997 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.326e-05/0.1935, allocations: 4.859 kB / 0.5997 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-05/0.1936, allocations: 85.16 kB / 0.5998 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1936, allocations: 38.56 kB / 0.5998 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.1936, allocations: 4 kB / 0.5998 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001455/0.1937, allocations: 37.61 kB / 0.5998 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.1938, allocations: 59.28 kB / 0.5999 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.1939, allocations: 105.8 kB / 0.6 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1939, allocations: 29.7 kB / 0.6 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.194, allocations: 84.05 kB / 0.6001 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.194, allocations: 4.125 kB / 0.6001 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.194, allocations: 17.7 kB / 0.6001 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1941, allocations: 322.8 kB / 0.6004 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.1941, allocations: 4 kB / 0.6004 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.1942, allocations: 17.66 kB / 0.6005 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.208e-05/0.1942, allocations: 25.7 kB / 0.6005 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1942, allocations: 4 kB / 0.6005 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.999e-05/0.1943, allocations: 49.62 kB / 0.6005 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1943, allocations: 4 kB / 0.6005 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1943, allocations: 4 kB / 0.6005 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1944, allocations: 0 / 0.6005 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.346e-05/0.1944, allocations: 4 kB / 0.6005 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1944, allocations: 0 / 0.6005 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.1944, allocations: 7.906 kB / 0.6006 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1944, allocations: 0 / 0.6006 GB, free: 2.902 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 7.417e-05/0.1945, allocations: 117.8 kB / 0.6007 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.1946, allocations: 4 kB / 0.6007 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.1947, allocations: 121 kB / 0.6008 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-05/0.1947, allocations: 180.2 kB / 0.601 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.033e-05/0.1948, allocations: 176.3 kB / 0.6011 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.236e-05/0.1949, allocations: 184.2 kB / 0.6013 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.1951, allocations: 413.1 kB / 0.6017 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.753e-05/0.1951, allocations: 101 kB / 0.6018 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.1952, allocations: 108.9 kB / 0.6019 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.556e-05/0.1952, allocations: 176.3 kB / 0.6021 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.1953, allocations: 180.3 kB / 0.6022 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.457e-05/0.1954, allocations: 184.2 kB / 0.6024 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-05/0.1954, allocations: 184.2 kB / 0.6026 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.1956, allocations: 307.7 kB / 0.6029 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.1956, allocations: 178.1 kB / 0.603 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2705/0.4662, allocations: 189.7 kB / 0.6032 GB, free: 44.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.4664, allocations: 105.7 kB / 0.6033 GB, free: 44.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.4664, allocations: 182.9 kB / 0.6035 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.4665, allocations: 106.4 kB / 0.6036 GB, free: 44.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.006e-05/0.4665, allocations: 87.05 kB / 0.6037 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4665, allocations: 0 / 0.6037 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003162/0.4669, allocations: 17.2 kB / 0.6037 GB, free: 44.11 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 (0): * Single equations (assignments): 0 * 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.0004213/0.4673, allocations: 0.8308 MB / 0.6045 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.686e-05/0.4674, allocations: 13.33 kB / 0.6045 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4674, allocations: 0.5312 kB / 0.6045 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.4674, allocations: 1.812 kB / 0.6045 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.4678, allocations: 461.8 kB / 0.605 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007633/0.4685, allocations: 1.315 MB / 0.6063 GB, free: 41.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.4687, allocations: 0.6749 MB / 0.6069 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.254e-05/0.4687, allocations: 9.359 kB / 0.6069 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.4687, allocations: 14.38 kB / 0.6069 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.4687, allocations: 0 / 0.6069 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.4869, allocations: 1.548 MB / 0.6084 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.174, allocations: 11.3 kB / 0.6085 GB, free: 40.61 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)