Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.57/2.57, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001752/0.001752, allocations: 181.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 97.89 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007217/0.0007219, allocations: 11.09 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3131, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.575/1.888, allocations: 377.6 MB / 1.347 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003962/1.889, allocations: 77.89 kB / 1.347 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06823/1.957, allocations: 12.06 MB / 1.359 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.974e-06/1.957, allocations: 0 / 1.359 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.194e-06/1.957, allocations: 0 / 1.359 GB, free: 10.77 MB / 0.8855 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.0004356/1.957, allocations: 335 kB / 1.359 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/1.957, allocations: 12.02 kB / 1.359 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/1.957, allocations: 33.19 kB / 1.359 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/1.957, allocations: 8.781 kB / 1.359 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/1.958, allocations: 167 kB / 1.359 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-05/1.958, allocations: 29.69 kB / 1.359 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/1.958, allocations: 4 kB / 1.359 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/1.958, allocations: 41.19 kB / 1.359 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.958, allocations: 0 / 1.359 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/1.958, allocations: 0 / 1.359 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/1.958, allocations: 7.938 kB / 1.359 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.375e-05/1.958, allocations: 15.61 kB / 1.359 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/1.959, allocations: 344 kB / 1.36 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.38e-05/1.959, allocations: 14.58 kB / 1.36 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/1.959, allocations: 81.17 kB / 1.36 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/1.959, allocations: 37.88 kB / 1.36 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 3.937e-06/1.959, allocations: 0 / 1.36 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001746/1.959, allocations: 41.62 kB / 1.36 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/1.959, allocations: 55.36 kB / 1.36 GB, free: 9.355 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/1.959, allocations: 108.6 kB / 1.36 GB, free: 9.246 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/1.959, allocations: 25.7 kB / 1.36 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/1.959, allocations: 84.05 kB / 1.36 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.783e-06/1.959, allocations: 0 / 1.36 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/1.959, allocations: 0 / 1.36 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.96, allocations: 318.1 kB / 1.361 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/1.96, allocations: 4.125 kB / 1.361 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.8e-05/1.96, allocations: 21.39 kB / 1.361 GB, free: 8.785 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/1.96, allocations: 7.938 kB / 1.361 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.96, allocations: 0 / 1.361 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001185/1.96, allocations: 48.41 kB / 1.361 GB, free: 8.727 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.96, allocations: 8 kB / 1.361 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/1.96, allocations: 0 / 1.361 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.96, allocations: 4.062 kB / 1.361 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/1.96, allocations: 4 kB / 1.361 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.96, allocations: 3.938 kB / 1.361 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/1.96, allocations: 11.89 kB / 1.361 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/1.96, allocations: 0 / 1.361 GB, free: 8.695 MB / 0.8855 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 0.0001019/1.96, allocations: 117.2 kB / 1.361 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/1.96, allocations: 0 / 1.361 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/1.96, allocations: 114.6 kB / 1.361 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-05/1.961, allocations: 184.2 kB / 1.361 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.05e-05/1.961, allocations: 184.1 kB / 1.361 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.711e-05/1.961, allocations: 180.3 kB / 1.361 GB, free: 7.902 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/1.961, allocations: 408.2 kB / 1.362 GB, free: 7.449 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.528e-05/1.961, allocations: 105 kB / 1.362 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/1.961, allocations: 112.9 kB / 1.362 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.834e-05/1.961, allocations: 176.3 kB / 1.362 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-05/1.961, allocations: 180.2 kB / 1.362 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000105/1.961, allocations: 184.2 kB / 1.362 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-05/1.962, allocations: 179.2 kB / 1.363 GB, free: 6.492 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/1.962, allocations: 311.7 kB / 1.363 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/1.962, allocations: 189.9 kB / 1.363 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/1.962, allocations: 181.9 kB / 1.363 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/1.962, allocations: 105 kB / 1.363 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/1.962, allocations: 192.1 kB / 1.364 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/1.962, allocations: 108.5 kB / 1.364 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.054e-05/1.963, allocations: 83.28 kB / 1.364 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.8e-07/1.963, allocations: 4 kB / 1.364 GB, free: 5.273 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003359/1.963, allocations: 16 kB / 1.364 GB, free: 5.258 MB / 0.8855 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.0006958/1.964, allocations: 0.8424 MB / 1.365 GB, free: 4.395 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.896e-05/1.964, allocations: 7.984 kB / 1.365 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.964, allocations: 4.125 kB / 1.365 GB, free: 4.383 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.412e-06/1.964, allocations: 7.562 kB / 1.365 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/1.964, allocations: 0.5185 MB / 1.365 GB, free: 3.855 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/1.965, allocations: 224.7 kB / 1.365 GB, free: 3.598 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/1.965, allocations: 0.6809 MB / 1.366 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.529e-05/1.965, allocations: 4 kB / 1.366 GB, free: 2.887 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/1.965, allocations: 11.42 kB / 1.366 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of SimCode: time 9.92e-07/1.965, allocations: 0 / 1.366 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/1.987, allocations: 1.568 MB / 1.368 GB, free: 1.453 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003629/1.987, allocations: 187.1 kB / 1.368 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/4.492, allocations: 1.625 kB / 1.368 GB, free: 1.215 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)