Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.0009389/0.0009428, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001197/0.001197, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.616/2.616, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 8 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8107/0.8111, allocations: 142.3 MB / 0.9538 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003562/0.8147, allocations: 2.878 MB / 0.9567 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.545e-05/0.8148, allocations: 50.69 kB / 0.9567 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.8149, allocations: 7.938 kB / 0.9567 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.387e-05/0.815, allocations: 5.031 kB / 0.9567 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.806e-05/0.8151, allocations: 14.12 kB / 0.9567 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.8155, allocations: 140.1 kB / 0.9569 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.017e-05/0.8156, allocations: 47.16 kB / 0.9569 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.8156, allocations: 6.141 kB / 0.9569 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.8157, allocations: 12.64 kB / 0.9569 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.504e-05/0.8158, allocations: 14.64 kB / 0.9569 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.8158, allocations: 1.188 kB / 0.9569 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.816, allocations: 93.2 kB / 0.957 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.8161, allocations: 6.203 kB / 0.957 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.8161, allocations: 32.14 kB / 0.9571 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.8163, allocations: 60.12 kB / 0.9571 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.8163, allocations: 1.062 kB / 0.9571 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8163, allocations: 4 kB / 0.9571 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.8163, allocations: 0 / 0.9571 GB, free: 5.59 MB / 0.7169 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.0003408/0.8167, allocations: 339.8 kB / 0.9575 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.8167, allocations: 9 kB / 0.9575 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.8168, allocations: 31.91 kB / 0.9575 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.8168, allocations: 1.312 kB / 0.9575 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.769e-05/0.8169, allocations: 160.2 kB / 0.9577 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.493e-05/0.817, allocations: 26.73 kB / 0.9577 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.817, allocations: 10.27 kB / 0.9577 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.8171, allocations: 45.64 kB / 0.9577 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.8171, allocations: 9.172 kB / 0.9577 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.8172, allocations: 3.984 kB / 0.9577 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.8172, allocations: 1.469 kB / 0.9577 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.626e-05/0.8172, allocations: 17.44 kB / 0.9578 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005842/0.8178, allocations: 0.5723 MB / 0.9583 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.138e-05/0.8179, allocations: 28.7 kB / 0.9583 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.8179, allocations: 10.05 kB / 0.9584 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.8181, allocations: 338.7 kB / 0.9587 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.8181, allocations: 30.56 kB / 0.9587 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.8181, allocations: 1.312 kB / 0.9587 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000178/0.8183, allocations: 38.52 kB / 0.9587 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.8183, allocations: 56.52 kB / 0.9588 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.348e-05/0.8184, allocations: 103.3 kB / 0.9589 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.8184, allocations: 26.61 kB / 0.9589 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.8185, allocations: 89.45 kB / 0.959 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.124e-06/0.8185, allocations: 9.109 kB / 0.959 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.8185, allocations: 0 / 0.959 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.864e-05/0.8185, allocations: 312 kB / 0.9593 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.8186, allocations: 2.312 kB / 0.9593 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.8186, allocations: 21.44 kB / 0.9593 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.004e-05/0.8186, allocations: 15.92 kB / 0.9594 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8186, allocations: 0 / 0.9594 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.517e-05/0.8187, allocations: 47.5 kB / 0.9594 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.8187, allocations: 4.375 kB / 0.9594 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8187, allocations: 5.484 kB / 0.9594 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.8187, allocations: 0 / 0.9594 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.528e-05/0.8188, allocations: 4.312 kB / 0.9594 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.8188, allocations: 5.562 kB / 0.9594 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.8188, allocations: 5.469 kB / 0.9594 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.8188, allocations: 1.344 kB / 0.9594 GB, free: 3.008 MB / 0.7169 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 5.357e-05/0.8189, allocations: 115.5 kB / 0.9595 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.8189, allocations: 4.953 kB / 0.9595 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.577e-05/0.819, allocations: 121.1 kB / 0.9597 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/0.819, allocations: 180.2 kB / 0.9598 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-05/0.8191, allocations: 181.6 kB / 0.96 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.539e-05/0.8191, allocations: 181 kB / 0.9602 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.8193, allocations: 408.6 kB / 0.9606 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/0.8193, allocations: 106 kB / 0.9607 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.626e-05/0.8193, allocations: 106.2 kB / 0.9608 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.801e-05/0.8193, allocations: 189.4 kB / 0.9609 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.8194, allocations: 181.1 kB / 0.9611 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.606e-05/0.8194, allocations: 181.3 kB / 0.9613 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-05/0.8194, allocations: 177.5 kB / 0.9615 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.323e-05/0.8195, allocations: 312.2 kB / 0.9618 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.8196, allocations: 187.2 kB / 0.9619 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.8196, allocations: 178.1 kB / 0.9621 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.8198, allocations: 112.9 kB / 0.9622 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.8198, allocations: 184.2 kB / 0.9624 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.8199, allocations: 107.7 kB / 0.9625 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.8199, allocations: 84.56 kB / 0.9626 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8199, allocations: 0 / 0.9626 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002593/0.8202, allocations: 36.31 kB / 0.9626 GB, free: 15.58 MB / 0.7325 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.0005255/0.8207, allocations: 0.8598 MB / 0.9634 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.435e-05/0.8208, allocations: 5.688 kB / 0.9635 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8208, allocations: 1.281 kB / 0.9635 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.8208, allocations: 0 / 0.9635 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.8213, allocations: 0.5386 MB / 0.964 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.8217, allocations: 237.1 kB / 0.9642 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.8221, allocations: 0.6832 MB / 0.9649 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.8222, allocations: 9.281 kB / 0.9649 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.8222, allocations: 9.094 kB / 0.9649 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8222, allocations: 0 / 0.9649 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.84, allocations: 1.892 MB / 0.9667 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004118/0.8405, allocations: 246.2 kB / 0.967 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.627, allocations: 1.375 kB / 0.967 GB, free: 12.12 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat