Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 292.6 MB / 307.5 MB, free: 5.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 181 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 0.6366 GB, free: 9.555 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008651/0.000865, allocations: 89.98 kB / 0.7509 GB, free: 62.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003715, allocations: 12 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3062, allocations: 116.3 MB / 0.9884 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.987/1.293, allocations: 342.5 MB / 1.323 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/1.294, allocations: 83.95 kB / 1.323 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.01812/1.312, allocations: 7.73 MB / 1.33 GB, free: 8.031 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.116e-06/1.312, allocations: 0 / 1.33 GB, free: 8.031 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.375e-06/1.312, allocations: 0 / 1.33 GB, free: 8.031 MB / 0.9011 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.0004364/1.312, allocations: 358 kB / 1.331 GB, free: 7.637 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/1.312, allocations: 16.02 kB / 1.331 GB, free: 7.621 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/1.312, allocations: 35.36 kB / 1.331 GB, free: 7.578 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/1.312, allocations: 5.812 kB / 1.331 GB, free: 7.578 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/1.313, allocations: 163.1 kB / 1.331 GB, free: 7.379 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/1.313, allocations: 33.69 kB / 1.331 GB, free: 7.34 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/1.313, allocations: 1.203 kB / 1.331 GB, free: 7.34 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/1.313, allocations: 41.69 kB / 1.331 GB, free: 7.293 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.313, allocations: 0 / 1.331 GB, free: 7.293 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/1.313, allocations: 1.719 kB / 1.331 GB, free: 7.293 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/1.313, allocations: 4 kB / 1.331 GB, free: 7.289 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.183e-05/1.313, allocations: 19.92 kB / 1.331 GB, free: 7.27 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/1.314, allocations: 0.5839 MB / 1.332 GB, free: 6.562 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.922e-05/1.314, allocations: 14.58 kB / 1.332 GB, free: 6.539 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/1.314, allocations: 352.5 kB / 1.332 GB, free: 6.121 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/1.314, allocations: 30.56 kB / 1.332 GB, free: 6.082 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/1.314, allocations: 0 / 1.332 GB, free: 6.082 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001653/1.314, allocations: 41.64 kB / 1.332 GB, free: 6.035 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/1.314, allocations: 55.53 kB / 1.332 GB, free: 5.969 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.326e-05/1.314, allocations: 93.55 kB / 1.332 GB, free: 5.871 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/1.314, allocations: 25.7 kB / 1.332 GB, free: 5.84 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/1.315, allocations: 92.83 kB / 1.332 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.661e-06/1.315, allocations: 0 / 1.332 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/1.315, allocations: 0 / 1.332 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.315, allocations: 320.4 kB / 1.333 GB, free: 5.426 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/1.315, allocations: 4.562 kB / 1.333 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/1.315, allocations: 21.72 kB / 1.333 GB, free: 5.395 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.713e-05/1.315, allocations: 4 kB / 1.333 GB, free: 5.391 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.315, allocations: 0 / 1.333 GB, free: 5.391 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.46e-05/1.315, allocations: 53.53 kB / 1.333 GB, free: 5.332 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.315, allocations: 7.938 kB / 1.333 GB, free: 5.324 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/1.315, allocations: 1.469 kB / 1.333 GB, free: 5.324 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.315, allocations: 4 kB / 1.333 GB, free: 5.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/1.315, allocations: 8.609 kB / 1.333 GB, free: 5.312 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/1.315, allocations: 4 kB / 1.333 GB, free: 5.309 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/1.315, allocations: 3.938 kB / 1.333 GB, free: 5.305 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/1.315, allocations: 4 kB / 1.333 GB, free: 5.301 MB / 0.9011 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.101e-05/1.315, allocations: 117.7 kB / 1.333 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/1.315, allocations: 4.5 kB / 1.333 GB, free: 5.172 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/1.315, allocations: 113 kB / 1.333 GB, free: 5.055 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.778e-05/1.315, allocations: 189.1 kB / 1.333 GB, free: 4.863 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.246e-05/1.315, allocations: 176.3 kB / 1.333 GB, free: 4.684 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.839e-05/1.316, allocations: 180.3 kB / 1.334 GB, free: 4.5 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/1.316, allocations: 409.9 kB / 1.334 GB, free: 4.043 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.517e-05/1.316, allocations: 105 kB / 1.334 GB, free: 3.934 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/1.316, allocations: 109.2 kB / 1.334 GB, free: 3.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.462e-05/1.316, allocations: 188.3 kB / 1.334 GB, free: 3.629 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.498e-05/1.316, allocations: 176.3 kB / 1.334 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.525e-05/1.316, allocations: 180.8 kB / 1.335 GB, free: 3.266 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.605e-05/1.316, allocations: 176.3 kB / 1.335 GB, free: 3.086 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/1.316, allocations: 320.2 kB / 1.335 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/1.316, allocations: 186 kB / 1.335 GB, free: 2.543 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/1.317, allocations: 184.2 kB / 1.335 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/1.317, allocations: 109.6 kB / 1.336 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/1.317, allocations: 180.2 kB / 1.336 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/1.317, allocations: 109 kB / 1.336 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.508e-05/1.317, allocations: 84.7 kB / 1.336 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.41e-07/1.317, allocations: 0 / 1.336 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002964/1.317, allocations: 32 kB / 1.336 GB, free: 1.832 MB / 0.9011 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 (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.0005447/1.318, allocations: 0.8698 MB / 1.337 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 7.456e-05/1.318, allocations: 7.938 kB / 1.337 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.318, allocations: 0 / 1.337 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/1.318, allocations: 4.125 kB / 1.337 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/1.318, allocations: 0.525 MB / 1.337 GB, free: 408 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/1.319, allocations: 235.2 kB / 1.338 GB, free: 132 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/1.319, allocations: 0.6809 MB / 1.338 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.354e-05/1.319, allocations: 6.25 kB / 1.338 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/1.319, allocations: 11.44 kB / 1.338 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of SimCode: time 4.5e-07/1.319, allocations: 0 / 1.338 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/1.334, allocations: 1.827 MB / 1.34 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/1.334, allocations: 238.4 kB / 1.34 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/3.05, allocations: 2.672 kB / 1.34 GB, free: 13.59 MB / 0.9167 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)