Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7622/0.7622, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 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: 180.6 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009616/0.0009618, allocations: 95.11 kB / 0.5124 GB, free: 24.26 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 278.3 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.669e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4918, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7901/1.282, allocations: 316.8 MB / 1.074 GB, free: 8.094 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/1.282, allocations: 79.95 kB / 1.074 GB, free: 8.047 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04144/1.324, allocations: 16.75 MB / 1.09 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.678e-06/1.324, allocations: 0 / 1.09 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.599e-05/1.324, allocations: 7.938 kB / 1.09 GB, free: 9.941 MB / 0.6198 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.0008694/1.325, allocations: 484.2 kB / 1.091 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.325, allocations: 8.031 kB / 1.091 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.587e-05/1.325, allocations: 58.23 kB / 1.091 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/1.327, allocations: 169.6 kB / 1.091 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/1.327, allocations: 217.8 kB / 1.091 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/1.327, allocations: 15.45 kB / 1.091 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/1.327, allocations: 11.81 kB / 1.091 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/1.327, allocations: 280.9 kB / 1.091 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.328, allocations: 0 / 1.091 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/1.328, allocations: 7.438 kB / 1.091 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/1.328, allocations: 4 kB / 1.091 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/1.328, allocations: 221.5 kB / 1.092 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/1.33, allocations: 1.386 MB / 1.093 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/1.33, allocations: 156.3 kB / 1.093 GB, free: 6.984 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/1.33, allocations: 58.73 kB / 1.093 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/1.33, allocations: 4 kB / 1.093 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/1.33, allocations: 38.48 kB / 1.093 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/1.33, allocations: 3.938 kB / 1.093 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0003695/1.331, allocations: 164.8 kB / 1.093 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/1.331, allocations: 51.41 kB / 1.093 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/1.331, allocations: 145.7 kB / 1.094 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/1.331, allocations: 25.7 kB / 1.094 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.588e-05/1.331, allocations: 125.7 kB / 1.094 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.656e-05/1.331, allocations: 63.28 kB / 1.094 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/1.331, allocations: 3.25 kB / 1.094 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.331, allocations: 330 kB / 1.094 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-05/1.331, allocations: 54.39 kB / 1.094 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/1.332, allocations: 130.9 kB / 1.094 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/1.332, allocations: 59.16 kB / 1.094 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.332, allocations: 0 / 1.094 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003778/1.332, allocations: 228.7 kB / 1.095 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.332, allocations: 8 kB / 1.095 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.332, allocations: 0 / 1.095 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.332, allocations: 4 kB / 1.095 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/1.332, allocations: 67.89 kB / 1.095 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/1.333, allocations: 4 kB / 1.095 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/1.333, allocations: 36.02 kB / 1.095 GB, free: 5.508 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/1.333, allocations: 15.8 kB / 1.095 GB, free: 5.496 MB / 0.6198 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.333, allocations: 119.7 kB / 1.095 GB, free: 5.379 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/1.333, allocations: 19.8 kB / 1.095 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004106/1.333, allocations: 201 kB / 1.095 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.333, allocations: 4 kB / 1.095 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.333, allocations: 0 / 1.095 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.333, allocations: 3.938 kB / 1.095 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/1.334, allocations: 246.2 kB / 1.095 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.334, allocations: 0 / 1.095 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/1.334, allocations: 59.89 kB / 1.095 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/1.334, allocations: 4 kB / 1.095 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/1.334, allocations: 0 / 1.095 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.334, allocations: 0 / 1.095 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.334, allocations: 3.938 kB / 1.095 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/1.334, allocations: 271.1 kB / 1.096 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/1.335, allocations: 108.1 kB / 1.096 GB, free: 4.512 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/1.335, allocations: 11.36 kB / 1.096 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/1.335, allocations: 23.48 kB / 1.096 GB, free: 4.484 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/1.335, allocations: 7.984 kB / 1.096 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/1.335, allocations: 11.5 kB / 1.096 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.266e-05/1.335, allocations: 110.3 kB / 1.096 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/1.335, allocations: 0 / 1.096 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003642/1.335, allocations: 67.36 kB / 1.096 GB, free: 4.312 MB / 0.6198 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007853/1.336, allocations: 0.8508 MB / 1.097 GB, free: 3.477 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002803/1.336, allocations: 149.8 kB / 1.097 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.337, allocations: 0 / 1.097 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/1.337, allocations: 74.48 kB / 1.097 GB, free: 3.312 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/1.337, allocations: 63.09 kB / 1.097 GB, free: 3.262 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000853/1.338, allocations: 270.4 kB / 1.097 GB, free: 2.992 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/1.338, allocations: 0.7213 MB / 1.098 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000346/1.339, allocations: 58.03 kB / 1.098 GB, free: 2.191 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/1.339, allocations: 48.16 kB / 1.098 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of SimCode: time 2.254e-06/1.339, allocations: 0 / 1.098 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/1.357, allocations: 4.712 MB / 1.103 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/1.357, allocations: 199.3 kB / 1.103 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/3.131, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.6355 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)