Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.001008/0.001008, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001042/0.001042, allocations: 192.3 kB / 16.13 MB, free: 6.715 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.9243/0.9243, allocations: 143 MB / 433 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.84 kB / 0.5136 GB, free: 12.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1293, allocations: 82.05 MB / 0.5937 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005229/0.1345, allocations: 4.098 MB / 0.5977 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0026/0.1371, allocations: 2.465 MB / 0.6001 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.703e-05/0.1373, allocations: 8 kB / 0.6002 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.1375, allocations: 35.78 kB / 0.6002 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.1378, allocations: 87.44 kB / 0.6003 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.1389, allocations: 483.4 kB / 0.6007 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000342/0.1393, allocations: 343.7 kB / 0.6011 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.1393, allocations: 9.562 kB / 0.6011 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.1395, allocations: 107.6 kB / 0.6012 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.1397, allocations: 99.58 kB / 0.6013 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.1397, allocations: 8 kB / 0.6013 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008242/0.1405, allocations: 459.1 kB / 0.6017 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.1406, allocations: 43.88 kB / 0.6018 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1407, allocations: 87.59 kB / 0.6018 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006749/0.1414, allocations: 415.2 kB / 0.6022 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1414, allocations: 0 / 0.6022 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.956e-06/0.1414, allocations: 0 / 0.6022 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.1414, allocations: 3.938 kB / 0.6022 GB, free: 1.262 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000722/0.1422, allocations: 0.4993 MB / 0.6027 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1422, allocations: 12.03 kB / 0.6027 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.937e-05/0.1423, allocations: 46.73 kB / 0.6028 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.1443, allocations: 188.5 kB / 0.603 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1446, allocations: 208.1 kB / 0.6032 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.1446, allocations: 16.7 kB / 0.6032 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.1446, allocations: 12.38 kB / 0.6032 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.227/0.3716, allocations: 304 kB / 0.6035 GB, free: 44.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3717, allocations: 5.219 kB / 0.6035 GB, free: 44.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.3717, allocations: 7.156 kB / 0.6035 GB, free: 44.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.3717, allocations: 6.812 kB / 0.6035 GB, free: 44.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000777/0.3725, allocations: 263.6 kB / 0.6037 GB, free: 44.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.374, allocations: 1.381 MB / 0.6051 GB, free: 43.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.3746, allocations: 188.9 kB / 0.6053 GB, free: 43.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.3748, allocations: 84.39 kB / 0.6054 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.3748, allocations: 7.016 kB / 0.6054 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.3749, allocations: 37.66 kB / 0.6054 GB, free: 43.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.3749, allocations: 0 / 0.6054 GB, free: 43.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000701/0.3756, allocations: 245.8 kB / 0.6056 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.3756, allocations: 58.16 kB / 0.6057 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.3757, allocations: 154.9 kB / 0.6058 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.3757, allocations: 33.77 kB / 0.6059 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.3758, allocations: 123.1 kB / 0.606 GB, free: 42.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.3758, allocations: 65.75 kB / 0.606 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/0.3759, allocations: 50.02 kB / 0.6061 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.251e-05/0.376, allocations: 328.5 kB / 0.6064 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.3762, allocations: 67.94 kB / 0.6065 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.3764, allocations: 145.2 kB / 0.6066 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.3768, allocations: 214.4 kB / 0.6068 GB, free: 42.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3768, allocations: 2.906 kB / 0.6068 GB, free: 42.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005168/0.3773, allocations: 251.2 kB / 0.6071 GB, free: 42.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3773, allocations: 6.656 kB / 0.6071 GB, free: 42.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3774, allocations: 6.953 kB / 0.6071 GB, free: 42.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3774, allocations: 6.531 kB / 0.6071 GB, free: 42.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.3777, allocations: 65.62 kB / 0.6071 GB, free: 42.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.3777, allocations: 5.844 kB / 0.6071 GB, free: 42.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.378, allocations: 35.42 kB / 0.6072 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.378, allocations: 14.67 kB / 0.6072 GB, free: 42.11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.33e-05/0.3781, allocations: 137.1 kB / 0.6073 GB, free: 42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.3782, allocations: 13.78 kB / 0.6073 GB, free: 41.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005708/0.3787, allocations: 225.8 kB / 0.6076 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3787, allocations: 2.906 kB / 0.6076 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3788, allocations: 0.6875 kB / 0.6076 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3788, allocations: 4.125 kB / 0.6076 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.379, allocations: 244.5 kB / 0.6078 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.379, allocations: 0 / 0.6078 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.3793, allocations: 51.75 kB / 0.6078 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3793, allocations: 3.422 kB / 0.6078 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.3793, allocations: 6.188 kB / 0.6078 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3793, allocations: 0 / 0.6078 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3793, allocations: 0 / 0.6078 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.3798, allocations: 303.3 kB / 0.6081 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.3799, allocations: 96.03 kB / 0.6082 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.3799, allocations: 5.312 kB / 0.6082 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.3802, allocations: 26.22 kB / 0.6083 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.3802, allocations: 12.36 kB / 0.6083 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.3803, allocations: 16.23 kB / 0.6083 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.68e-05/0.3803, allocations: 121.4 kB / 0.6084 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3803, allocations: 0 / 0.6084 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003401/0.3807, allocations: 63.31 kB / 0.6085 GB, free: 41.43 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 (20): * Single equations (assignments): 20 * 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.0007044/0.3814, allocations: 0.8595 MB / 0.6093 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.3819, allocations: 189 kB / 0.6095 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3819, allocations: 0 / 0.6095 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.3821, allocations: 88.28 kB / 0.6096 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.3826, allocations: 61.95 kB / 0.6096 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.3851, allocations: 2.206 MB / 0.6118 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.3853, allocations: 0.7147 MB / 0.6125 GB, free: 38.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003434/0.3856, allocations: 56.2 kB / 0.6125 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.3857, allocations: 53.53 kB / 0.6126 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3857, allocations: 0 / 0.6126 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1273/0.513, allocations: 4.931 MB / 0.6174 GB, free: 38.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001297/0.5131, allocations: 253.6 kB / 0.6176 GB, free: 37.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.183, allocations: 0 / 0.6176 GB, free: 37.93 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)