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/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.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.006365/0.006364, allocations: 105 kB / 15.74 MB, free: 6.035 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.001269/0.001269, allocations: 196 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.019/1.019, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.91 kB / 0.5951 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4872/0.4887, allocations: 82.03 MB / 0.6752 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004765/0.4935, allocations: 3.29 MB / 0.6784 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001123/0.4936, allocations: 54.5 kB / 0.6785 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.4937, allocations: 1.031 kB / 0.6785 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.4938, allocations: 7.875 kB / 0.6785 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.631e-05/0.4939, allocations: 15.59 kB / 0.6785 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.4945, allocations: 185.2 kB / 0.6787 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.991e-05/0.4946, allocations: 32.88 kB / 0.6787 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.4946, allocations: 2.25 kB / 0.6787 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.274e-05/0.4947, allocations: 21.55 kB / 0.6787 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.441e-05/0.4947, allocations: 9.453 kB / 0.6787 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.4948, allocations: 0.9688 kB / 0.6787 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.4951, allocations: 168.1 kB / 0.6789 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.4952, allocations: 2.625 kB / 0.6789 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.4952, allocations: 19.86 kB / 0.6789 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.4955, allocations: 140.2 kB / 0.679 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.4955, allocations: 0 / 0.679 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4955, allocations: 1.094 kB / 0.679 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.4955, allocations: 0 / 0.679 GB, free: 14.05 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.0004196/0.496, allocations: 343.4 kB / 0.6794 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.496, allocations: 9.188 kB / 0.6794 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.4961, allocations: 35.86 kB / 0.6794 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.4961, allocations: 11.16 kB / 0.6794 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.4962, allocations: 168.4 kB / 0.6796 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.363e-05/0.4963, allocations: 32.58 kB / 0.6796 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.4963, allocations: 5.25 kB / 0.6796 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.4965, allocations: 38.88 kB / 0.6797 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4965, allocations: 0 / 0.6797 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4965, allocations: 0 / 0.6797 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.4965, allocations: 1.469 kB / 0.6797 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.123e-05/0.4966, allocations: 17.8 kB / 0.6797 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007242/0.4973, allocations: 0.5845 MB / 0.6802 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.113e-05/0.4974, allocations: 20.83 kB / 0.6803 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.4974, allocations: 5.891 kB / 0.6803 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/0.4976, allocations: 346.2 kB / 0.6806 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.4977, allocations: 35.59 kB / 0.6806 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.4977, allocations: 3.938 kB / 0.6806 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.000156/0.4978, allocations: 36.05 kB / 0.6807 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.4979, allocations: 55.34 kB / 0.6807 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.498, allocations: 108.1 kB / 0.6808 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.498, allocations: 25.7 kB / 0.6808 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.4981, allocations: 86.3 kB / 0.6809 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-06/0.4981, allocations: 3.906 kB / 0.6809 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.4981, allocations: 22.45 kB / 0.681 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.4982, allocations: 318.9 kB / 0.6813 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.4983, allocations: 3.062 kB / 0.6813 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/0.4983, allocations: 24.98 kB / 0.6813 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.805e-05/0.4983, allocations: 16.56 kB / 0.6813 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4983, allocations: 0 / 0.6813 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.18e-05/0.4984, allocations: 51.47 kB / 0.6814 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4985, allocations: 11.75 kB / 0.6814 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4985, allocations: 0 / 0.6814 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4985, allocations: 1.062 kB / 0.6814 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-05/0.4985, allocations: 4.469 kB / 0.6814 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4985, allocations: 0.9688 kB / 0.6814 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.4986, allocations: 1.062 kB / 0.6814 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.4986, allocations: 2.25 kB / 0.6814 GB, free: 11.43 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 8.376e-05/0.4987, allocations: 118.9 kB / 0.6815 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.4987, allocations: 6.297 kB / 0.6815 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.4988, allocations: 115.4 kB / 0.6816 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.378e-05/0.4989, allocations: 181.3 kB / 0.6818 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.396e-05/0.499, allocations: 189.6 kB / 0.682 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.527e-05/0.4991, allocations: 181.7 kB / 0.6821 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.4993, allocations: 408.4 kB / 0.6825 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.619e-05/0.4993, allocations: 109 kB / 0.6826 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.4994, allocations: 106.1 kB / 0.6827 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.704e-05/0.4995, allocations: 177.4 kB / 0.6829 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.4995, allocations: 177.3 kB / 0.6831 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.742e-05/0.4996, allocations: 189.3 kB / 0.6832 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.962e-05/0.4997, allocations: 181.3 kB / 0.6834 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.4998, allocations: 312.2 kB / 0.6837 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/0.4999, allocations: 187.1 kB / 0.6839 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.292e-05/0.5, allocations: 185.2 kB / 0.6841 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.5002, allocations: 108.3 kB / 0.6842 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.5002, allocations: 185.5 kB / 0.6843 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.5003, allocations: 105 kB / 0.6844 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.46e-05/0.5003, allocations: 80.69 kB / 0.6845 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5004, allocations: 0 / 0.6845 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003021/0.5007, allocations: 40.34 kB / 0.6846 GB, free: 8 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.0005596/0.5012, allocations: 0.8706 MB / 0.6854 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.292e-05/0.5013, allocations: 14.2 kB / 0.6854 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5013, allocations: 0 / 0.6854 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.5013, allocations: 1.125 kB / 0.6854 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.5018, allocations: 455.2 kB / 0.6859 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.503, allocations: 1.331 MB / 0.6872 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.5033, allocations: 0.6758 MB / 0.6878 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.73e-05/0.5034, allocations: 6.781 kB / 0.6878 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.5034, allocations: 10.31 kB / 0.6878 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.5034, allocations: 0 / 0.6878 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.5249, allocations: 2.234 MB / 0.69 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/8.273, allocations: 10.41 kB / 0.69 GB, free: 3.465 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)