Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.001128/0.001128, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.00105/0.00105, allocations: 177.3 kB / 15.95 MB, free: 216 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.455/1.455, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.494/2.494, allocations: 409.2 MB / 0.6838 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005094/0.0005095, allocations: 8 kB / 0.8375 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.025, allocations: 146.8 MB / 0.9809 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004644/1.029, allocations: 2.463 MB / 0.9833 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005482/1.03, allocations: 335.3 kB / 0.9836 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/1.03, allocations: 0 / 0.9836 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001339/1.03, allocations: 4 kB / 0.9836 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/1.03, allocations: 15.86 kB / 0.9836 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006459/1.031, allocations: 150.2 kB / 0.9837 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/1.031, allocations: 19.95 kB / 0.9838 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/1.031, allocations: 0 / 0.9838 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.755e-05/1.031, allocations: 12 kB / 0.9838 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/1.031, allocations: 7.984 kB / 0.9838 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/1.031, allocations: 0 / 0.9838 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003815/1.032, allocations: 107.8 kB / 0.9839 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/1.032, allocations: 0 / 0.9839 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/1.032, allocations: 33.7 kB / 0.9839 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/1.032, allocations: 66.11 kB / 0.984 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/1.032, allocations: 0 / 0.984 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/1.032, allocations: 0 / 0.984 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.308e-06/1.032, allocations: 0 / 0.984 GB, free: 3.117 MB / 0.7325 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.0005765/1.033, allocations: 339.3 kB / 0.9843 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.033, allocations: 12.03 kB / 0.9843 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.566e-05/1.033, allocations: 30.56 kB / 0.9843 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/1.033, allocations: 0 / 0.9843 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/1.033, allocations: 163.1 kB / 0.9845 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.86e-05/1.033, allocations: 33.66 kB / 0.9845 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/1.033, allocations: 3.938 kB / 0.9845 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/1.033, allocations: 45.69 kB / 0.9846 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/1.033, allocations: 0 / 0.9846 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/1.033, allocations: 7.969 kB / 0.9846 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/1.033, allocations: 0 / 0.9846 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.664e-05/1.033, allocations: 12 kB / 0.9846 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/1.034, allocations: 0.5794 MB / 0.9852 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.338e-05/1.034, allocations: 18.52 kB / 0.9852 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003356/1.035, allocations: 332.5 kB / 0.9855 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/1.035, allocations: 34.56 kB / 0.9855 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/1.035, allocations: 0 / 0.9855 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001938/1.035, allocations: 37.61 kB / 0.9856 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/1.035, allocations: 51.41 kB / 0.9856 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/1.035, allocations: 109.9 kB / 0.9857 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/1.035, allocations: 25.7 kB / 0.9857 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/1.035, allocations: 91.98 kB / 0.9858 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/1.035, allocations: 0 / 0.9858 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/1.035, allocations: 7.938 kB / 0.9858 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.035, allocations: 318.8 kB / 0.9861 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/1.035, allocations: 4 kB / 0.9862 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/1.035, allocations: 13.72 kB / 0.9862 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/1.035, allocations: 8 kB / 0.9862 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.035, allocations: 3.938 kB / 0.9862 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001179/1.036, allocations: 53.62 kB / 0.9862 GB, free: 444 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.036, allocations: 4 kB / 0.9862 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/1.036, allocations: 0 / 0.9862 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.036, allocations: 0 / 0.9862 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.032e-05/1.036, allocations: 7.984 kB / 0.9862 GB, free: 432 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/1.036, allocations: 4 kB / 0.9862 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/1.036, allocations: 4.062 kB / 0.9862 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/1.036, allocations: 0 / 0.9862 GB, free: 424 kB / 0.7325 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.0001392/1.036, allocations: 117.8 kB / 0.9864 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/1.036, allocations: 3.906 kB / 0.9864 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/1.036, allocations: 120.9 kB / 0.9865 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001142/1.036, allocations: 176.3 kB / 0.9866 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.735e-05/1.036, allocations: 184.3 kB / 0.9868 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.146e-05/1.036, allocations: 188.2 kB / 0.987 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/1.037, allocations: 405.2 kB / 0.9874 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-05/1.037, allocations: 104.9 kB / 0.9875 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.777e-05/1.037, allocations: 109 kB / 0.9876 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.174e-05/1.037, allocations: 180.3 kB / 0.9878 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-05/1.037, allocations: 184.2 kB / 0.9879 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.938e-05/1.037, allocations: 176.3 kB / 0.9881 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.032e-05/1.037, allocations: 180.2 kB / 0.9883 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/1.037, allocations: 311.8 kB / 0.9886 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/1.038, allocations: 190 kB / 0.9888 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/1.038, allocations: 176.3 kB / 0.9889 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/1.038, allocations: 116.9 kB / 0.989 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/1.038, allocations: 176.3 kB / 0.9892 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/1.038, allocations: 104.9 kB / 0.9893 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.479e-05/1.038, allocations: 91.27 kB / 0.9894 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/1.038, allocations: 0 / 0.9894 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005425/1.039, allocations: 35.94 kB / 0.9894 GB, free: 12.94 MB / 0.7481 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.000729/1.04, allocations: 0.8609 MB / 0.9903 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 9.303e-05/1.04, allocations: 11.94 kB / 0.9903 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.04, allocations: 0 / 0.9903 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/1.04, allocations: 336 / 0.9903 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/1.04, allocations: 0.5264 MB / 0.9908 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/1.041, allocations: 229.5 kB / 0.991 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/1.041, allocations: 0.677 MB / 0.9917 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.087e-05/1.041, allocations: 17.89 kB / 0.9917 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/1.041, allocations: 8.844 kB / 0.9917 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of SimCode: time 3.9e-07/1.041, allocations: 0 / 0.9917 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/1.065, allocations: 1.884 MB / 0.9935 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/1.066, allocations: 254.2 kB / 0.9938 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/3.221, allocations: 0 / 0.9938 GB, free: 8.609 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat