Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.006151/0.006151, allocations: 97.62 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.001566/0.001566, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.092/1.092, allocations: 143.3 MB / 433.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 59.91 kB / 0.5953 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5056/0.5079, allocations: 82.03 MB / 0.6754 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00574/0.5137, allocations: 3.299 MB / 0.6787 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001242/0.5138, allocations: 56.22 kB / 0.6787 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.5139, allocations: 0 / 0.6787 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.894e-05/0.514, allocations: 1 kB / 0.6787 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.153e-05/0.5141, allocations: 17.86 kB / 0.6787 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.5148, allocations: 178.8 kB / 0.6789 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.873e-05/0.5149, allocations: 33.52 kB / 0.6789 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.5149, allocations: 1.156 kB / 0.6789 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.631e-05/0.515, allocations: 25.22 kB / 0.679 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.5151, allocations: 9.891 kB / 0.679 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.5151, allocations: 1.125 kB / 0.679 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004869/0.5156, allocations: 171.5 kB / 0.6791 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.5156, allocations: 10.27 kB / 0.6791 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.5157, allocations: 9.062 kB / 0.6791 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.516, allocations: 138.3 kB / 0.6793 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.516, allocations: 0 / 0.6793 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.082e-06/0.516, allocations: 1.469 kB / 0.6793 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.5161, allocations: 0 / 0.6793 GB, free: 13.95 MB / 0.5137 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.0004902/0.5166, allocations: 354.4 kB / 0.6796 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.5166, allocations: 10.16 kB / 0.6796 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.5166, allocations: 35.83 kB / 0.6797 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.5167, allocations: 2.062 kB / 0.6797 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.5168, allocations: 161.7 kB / 0.6798 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.737e-05/0.5169, allocations: 27.39 kB / 0.6798 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.5169, allocations: 9.234 kB / 0.6799 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.517, allocations: 47.59 kB / 0.6799 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.5171, allocations: 4 kB / 0.6799 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.5171, allocations: 0 / 0.6799 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.5171, allocations: 1.312 kB / 0.6799 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.744e-05/0.5172, allocations: 13.23 kB / 0.6799 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007396/0.5179, allocations: 0.5884 MB / 0.6805 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.014e-05/0.518, allocations: 21.17 kB / 0.6805 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.518, allocations: 10.23 kB / 0.6805 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/0.5183, allocations: 346.1 kB / 0.6809 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.5183, allocations: 30.56 kB / 0.6809 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.5183, allocations: 5.344 kB / 0.6809 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001588/0.5185, allocations: 38.92 kB / 0.6809 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.5186, allocations: 57.03 kB / 0.681 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.144e-05/0.5187, allocations: 103.7 kB / 0.6811 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.5187, allocations: 25.7 kB / 0.6811 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.5188, allocations: 93.44 kB / 0.6812 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-06/0.5188, allocations: 1.25 kB / 0.6812 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.5189, allocations: 13 kB / 0.6812 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.519, allocations: 323.9 kB / 0.6815 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.519, allocations: 6.094 kB / 0.6815 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.5191, allocations: 14.34 kB / 0.6815 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.131e-05/0.5191, allocations: 23.25 kB / 0.6816 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.5191, allocations: 1.094 kB / 0.6816 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.185e-05/0.5192, allocations: 53.8 kB / 0.6816 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5192, allocations: 5.594 kB / 0.6816 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.5193, allocations: 1 kB / 0.6816 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5193, allocations: 1.125 kB / 0.6816 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.286e-05/0.5193, allocations: 8.266 kB / 0.6816 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5193, allocations: 1.094 kB / 0.6816 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.5194, allocations: 5.219 kB / 0.6816 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.5194, allocations: 1.969 kB / 0.6816 GB, free: 11.3 MB / 0.5137 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 9.912e-05/0.5195, allocations: 111 kB / 0.6817 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.5195, allocations: 2.25 kB / 0.6817 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.5197, allocations: 124.9 kB / 0.6819 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-05/0.5198, allocations: 176.3 kB / 0.682 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001226/0.5199, allocations: 189.3 kB / 0.6822 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000145/0.5201, allocations: 177.4 kB / 0.6824 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.5204, allocations: 411.2 kB / 0.6828 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.465e-05/0.5204, allocations: 106.1 kB / 0.6829 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.5205, allocations: 106.1 kB / 0.683 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-05/0.5206, allocations: 181.3 kB / 0.6831 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.123e-05/0.5207, allocations: 181.4 kB / 0.6833 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001075/0.5208, allocations: 189.5 kB / 0.6835 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.642e-05/0.5209, allocations: 177.4 kB / 0.6837 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.5211, allocations: 311.9 kB / 0.684 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.5212, allocations: 183.4 kB / 0.6841 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.781e-05/0.5213, allocations: 189.1 kB / 0.6843 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.5215, allocations: 107.1 kB / 0.6844 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.5216, allocations: 182.4 kB / 0.6846 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.5217, allocations: 108.9 kB / 0.6847 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.622e-05/0.5217, allocations: 89.27 kB / 0.6848 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5217, allocations: 4 kB / 0.6848 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003331/0.5221, allocations: 35.75 kB / 0.6848 GB, free: 7.875 MB / 0.5137 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.0006716/0.5227, allocations: 0.8717 MB / 0.6857 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.884e-05/0.5228, allocations: 10.28 kB / 0.6857 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5229, allocations: 1.375 kB / 0.6857 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.5229, allocations: 0 / 0.6857 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.5234, allocations: 463.7 kB / 0.6861 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.5246, allocations: 1.323 MB / 0.6874 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.525, allocations: 0.6789 MB / 0.6881 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.621e-05/0.5251, allocations: 10.47 kB / 0.6881 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.5251, allocations: 8.562 kB / 0.6881 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.5251, allocations: 1.25 kB / 0.6881 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.5489, allocations: 2.218 MB / 0.6903 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.409, allocations: 9.938 kB / 0.6903 GB, free: 3.348 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)