Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_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.005625/0.005625, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.001064/0.001064, allocations: 193.3 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 282.6 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9328/0.9328, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 100.5 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1652, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004591/0.1699, allocations: 3.274 MB / 0.7691 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001142/0.17, allocations: 59.86 kB / 0.7692 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.17, allocations: 3.938 kB / 0.7692 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.371e-05/0.1701, allocations: 7.922 kB / 0.7692 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.1702, allocations: 3.938 kB / 0.7692 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.1708, allocations: 186.2 kB / 0.7694 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.373e-05/0.1709, allocations: 39.84 kB / 0.7694 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.1709, allocations: 0 / 0.7694 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.171, allocations: 23.91 kB / 0.7694 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.567e-05/0.171, allocations: 11.94 kB / 0.7694 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.1711, allocations: 4 kB / 0.7694 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/0.1714, allocations: 171.5 kB / 0.7696 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.1715, allocations: 7.984 kB / 0.7696 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.1715, allocations: 8 kB / 0.7696 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1718, allocations: 135.9 kB / 0.7697 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1718, allocations: 0 / 0.7697 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1718, allocations: 0 / 0.7697 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.1718, allocations: 4 kB / 0.7697 GB, free: 4.992 MB / 0.5606 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.0004072/0.1722, allocations: 351.4 kB / 0.7701 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1723, allocations: 12.03 kB / 0.7701 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.1723, allocations: 30.75 kB / 0.7701 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.1723, allocations: 8.938 kB / 0.7701 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1725, allocations: 164.4 kB / 0.7703 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.085e-05/0.1725, allocations: 34.2 kB / 0.7703 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.1725, allocations: 4.125 kB / 0.7703 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1727, allocations: 41.69 kB / 0.7704 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.1727, allocations: 0 / 0.7704 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1727, allocations: 0 / 0.7704 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.1727, allocations: 11.92 kB / 0.7704 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/0.1728, allocations: 16 kB / 0.7704 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.1734, allocations: 0.5755 MB / 0.771 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.694e-05/0.1735, allocations: 22.52 kB / 0.771 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.1735, allocations: 12.91 kB / 0.771 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002341/0.1737, allocations: 340.4 kB / 0.7713 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1738, allocations: 34.56 kB / 0.7713 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1738, allocations: 4 kB / 0.7713 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000139/0.1739, allocations: 37.61 kB / 0.7714 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.174, allocations: 55.34 kB / 0.7714 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.625e-05/0.174, allocations: 105.8 kB / 0.7715 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.1741, allocations: 25.7 kB / 0.7716 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.1741, allocations: 91.98 kB / 0.7717 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-06/0.1741, allocations: 4.125 kB / 0.7717 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.1742, allocations: 21.7 kB / 0.7717 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1743, allocations: 318.8 kB / 0.772 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.1743, allocations: 0 / 0.772 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.1743, allocations: 17.7 kB / 0.772 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.1744, allocations: 21.72 kB / 0.772 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1744, allocations: 4 kB / 0.772 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.512e-05/0.1745, allocations: 49.62 kB / 0.7721 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1745, allocations: 4 kB / 0.7721 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1745, allocations: 7.938 kB / 0.7721 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1745, allocations: 0 / 0.7721 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.434e-05/0.1746, allocations: 4 kB / 0.7721 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1746, allocations: 0 / 0.7721 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.1746, allocations: 7.906 kB / 0.7721 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1746, allocations: 0 / 0.7721 GB, free: 2.195 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.578e-05/0.1747, allocations: 121.8 kB / 0.7722 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.1747, allocations: 4 kB / 0.7722 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1748, allocations: 120.9 kB / 0.7723 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.732e-05/0.1749, allocations: 176.3 kB / 0.7725 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-05/0.1749, allocations: 184.2 kB / 0.7727 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.881e-05/0.175, allocations: 180.3 kB / 0.7728 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.1752, allocations: 413.1 kB / 0.7732 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.194e-05/0.1753, allocations: 101 kB / 0.7733 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.1753, allocations: 108.9 kB / 0.7734 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.204e-05/0.1754, allocations: 180.3 kB / 0.7736 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.258e-05/0.1755, allocations: 180.3 kB / 0.7738 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-05/0.1755, allocations: 188.2 kB / 0.774 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3494/0.5249, allocations: 180.8 kB / 0.7741 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.5251, allocations: 306.8 kB / 0.7744 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.5251, allocations: 180.8 kB / 0.7746 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.5252, allocations: 180.6 kB / 0.7748 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.5253, allocations: 111.3 kB / 0.7749 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.5254, allocations: 182.5 kB / 0.775 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.5254, allocations: 106.3 kB / 0.7752 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.036e-05/0.5255, allocations: 88 kB / 0.7752 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5255, allocations: 0 / 0.7752 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003883/0.5259, allocations: 36.72 kB / 0.7753 GB, free: 14.11 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000415/0.5263, allocations: 0.8599 MB / 0.7761 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.568e-05/0.5264, allocations: 14.05 kB / 0.7761 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5264, allocations: 1.625 kB / 0.7761 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.5264, allocations: 0.5156 kB / 0.7761 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.5268, allocations: 470.3 kB / 0.7766 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008397/0.5276, allocations: 1.328 MB / 0.7779 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.5278, allocations: 0.6763 MB / 0.7785 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.17e-05/0.5278, allocations: 7.109 kB / 0.7785 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.5279, allocations: 13.02 kB / 0.7785 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.5279, allocations: 0 / 0.7785 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.5474, allocations: 2.184 MB / 0.7807 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/7.622, allocations: 12.92 kB / 0.7807 GB, free: 10.48 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)