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.0009771/0.0009772, allocations: 108 kB / 15.61 MB, free: 152 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.0009654/0.0009655, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.206/1.206, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.8735/0.8735, allocations: 143 MB / 433.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 63.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1287, allocations: 82.04 MB / 0.5944 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005185/0.1339, allocations: 4.049 MB / 0.5983 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002421/0.1364, allocations: 2.43 MB / 0.6007 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1365, allocations: 0 / 0.6007 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.1368, allocations: 47.67 kB / 0.6008 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.1371, allocations: 99.34 kB / 0.6009 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1382, allocations: 0.5114 MB / 0.6014 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.1385, allocations: 255.9 kB / 0.6016 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.1386, allocations: 17.53 kB / 0.6016 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.1387, allocations: 115.5 kB / 0.6017 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1389, allocations: 99.64 kB / 0.6018 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.1389, allocations: 8 kB / 0.6018 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007576/0.1397, allocations: 455.2 kB / 0.6023 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.1398, allocations: 47.83 kB / 0.6023 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.362e-05/0.1398, allocations: 79.66 kB / 0.6024 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006034/0.1405, allocations: 419.2 kB / 0.6028 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1405, allocations: 3.938 kB / 0.6028 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1405, allocations: 3.938 kB / 0.6028 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1405, allocations: 0 / 0.6028 GB, free: 0.8477 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.0006291/0.1411, allocations: 0.4953 MB / 0.6033 GB, free: 312 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1412, allocations: 12.62 kB / 0.6033 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.1412, allocations: 54.73 kB / 0.6033 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/0.143, allocations: 180.5 kB / 0.6035 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2234/0.3665, allocations: 201.5 kB / 0.6037 GB, free: 44.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.3665, allocations: 14.83 kB / 0.6037 GB, free: 44.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.3666, allocations: 22.33 kB / 0.6037 GB, free: 44.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005754/0.3671, allocations: 301 kB / 0.604 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3672, allocations: 1.875 kB / 0.604 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.3672, allocations: 7.781 kB / 0.604 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.3672, allocations: 8.375 kB / 0.604 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005945/0.3678, allocations: 263.5 kB / 0.6043 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.369, allocations: 1.399 MB / 0.6057 GB, free: 42.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.3695, allocations: 186.3 kB / 0.6058 GB, free: 42.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.3697, allocations: 81.73 kB / 0.6059 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.3698, allocations: 4.766 kB / 0.6059 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.3698, allocations: 34.31 kB / 0.606 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/0.3698, allocations: 0 / 0.606 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006582/0.3705, allocations: 255.4 kB / 0.6062 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.3705, allocations: 55.61 kB / 0.6063 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.3706, allocations: 153.6 kB / 0.6064 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.3706, allocations: 30.48 kB / 0.6064 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.3706, allocations: 129 kB / 0.6066 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.3707, allocations: 65.47 kB / 0.6066 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.869e-05/0.3708, allocations: 47.31 kB / 0.6067 GB, free: 42.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.3708, allocations: 326.5 kB / 0.607 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.371, allocations: 64.83 kB / 0.607 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.3712, allocations: 142.1 kB / 0.6072 GB, free: 42.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.3716, allocations: 221.1 kB / 0.6074 GB, free: 41.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3716, allocations: 3.391 kB / 0.6074 GB, free: 41.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004849/0.3721, allocations: 252.4 kB / 0.6076 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3721, allocations: 9.812 kB / 0.6076 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3721, allocations: 3.469 kB / 0.6076 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3721, allocations: 2.656 kB / 0.6076 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.3724, allocations: 63.67 kB / 0.6077 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3724, allocations: 7.562 kB / 0.6077 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.3726, allocations: 30.09 kB / 0.6077 GB, free: 41.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.3727, allocations: 18.16 kB / 0.6078 GB, free: 41.91 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 7.525e-05/0.3728, allocations: 129.3 kB / 0.6079 GB, free: 41.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.3728, allocations: 24.5 kB / 0.6079 GB, free: 41.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005287/0.3733, allocations: 227.6 kB / 0.6081 GB, free: 41.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3734, allocations: 2.844 kB / 0.6081 GB, free: 41.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3734, allocations: 0 / 0.6081 GB, free: 41.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3734, allocations: 0 / 0.6081 GB, free: 41.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.3736, allocations: 236.5 kB / 0.6083 GB, free: 41.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3736, allocations: 4.031 kB / 0.6083 GB, free: 41.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.3738, allocations: 47.91 kB / 0.6084 GB, free: 41.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3738, allocations: 7.938 kB / 0.6084 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.3739, allocations: 6.844 kB / 0.6084 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.3739, allocations: 1.344 kB / 0.6084 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3739, allocations: 3.234 kB / 0.6084 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.3743, allocations: 288.9 kB / 0.6087 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.3744, allocations: 115 kB / 0.6088 GB, free: 41.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.3744, allocations: 7.438 kB / 0.6088 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.3747, allocations: 17.08 kB / 0.6088 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.3747, allocations: 12.45 kB / 0.6088 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3747, allocations: 9.266 kB / 0.6088 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.3748, allocations: 117.6 kB / 0.609 GB, free: 41.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3748, allocations: 2.906 kB / 0.609 GB, free: 41.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000317/0.3751, allocations: 68.95 kB / 0.609 GB, free: 41.22 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.0006527/0.3758, allocations: 0.8683 MB / 0.6099 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004692/0.3763, allocations: 191.8 kB / 0.6101 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3763, allocations: 3.031 kB / 0.6101 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.3765, allocations: 86.64 kB / 0.6101 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.3769, allocations: 64.91 kB / 0.6102 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.3792, allocations: 2.149 MB / 0.6123 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.947e-05/0.3793, allocations: 0.7212 MB / 0.613 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003002/0.3796, allocations: 49.7 kB / 0.6131 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.439e-05/0.3797, allocations: 46.33 kB / 0.6131 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.3797, allocations: 0 / 0.6131 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.819/2.198, allocations: 5.188 MB / 0.6182 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.02/19.22, allocations: 6.766 kB / 0.6182 GB, free: 37.9 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)