Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_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.004693/0.004693, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001017/0.001017, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.789/0.789, allocations: 135.1 MB / 425.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 60.94 kB / 0.5851 GB, free: 22.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1648, allocations: 80.93 MB / 0.6642 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005028/0.1699, allocations: 3.27 MB / 0.6674 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001074/0.17, allocations: 59.78 kB / 0.6674 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.17, allocations: 0 / 0.6674 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.1701, allocations: 7.875 kB / 0.6674 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.877e-05/0.1702, allocations: 11.92 kB / 0.6674 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006012/0.1709, allocations: 191.2 kB / 0.6676 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.171, allocations: 39.83 kB / 0.6677 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.464e-05/0.171, allocations: 4 kB / 0.6677 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.335e-05/0.1711, allocations: 11.98 kB / 0.6677 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.263e-05/0.1711, allocations: 23.86 kB / 0.6677 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.1711, allocations: 4 kB / 0.6677 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.1715, allocations: 175.5 kB / 0.6679 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.1716, allocations: 4 kB / 0.6679 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.1716, allocations: 7.984 kB / 0.6679 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.1719, allocations: 134.6 kB / 0.668 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1719, allocations: 0 / 0.668 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1719, allocations: 0 / 0.668 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1719, allocations: 0 / 0.668 GB, free: 2.348 MB / 0.4981 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.0004226/0.1723, allocations: 344.4 kB / 0.6683 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1724, allocations: 13.11 kB / 0.6684 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.1724, allocations: 34.69 kB / 0.6684 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.1725, allocations: 8.922 kB / 0.6684 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1726, allocations: 164.4 kB / 0.6686 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.1727, allocations: 26.27 kB / 0.6686 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1727, allocations: 8.125 kB / 0.6686 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1728, allocations: 41.69 kB / 0.6686 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1729, allocations: 0 / 0.6686 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.1729, allocations: 3.938 kB / 0.6686 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.1729, allocations: 11.98 kB / 0.6686 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.732e-05/0.1729, allocations: 12 kB / 0.6686 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.1736, allocations: 0.5832 MB / 0.6692 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.712e-05/0.1736, allocations: 18.58 kB / 0.6692 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.1737, allocations: 12.84 kB / 0.6692 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/0.1739, allocations: 340.5 kB / 0.6696 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1739, allocations: 38.56 kB / 0.6696 GB, free: 396 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1739, allocations: 0 / 0.6696 GB, free: 396 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001414/0.1741, allocations: 37.64 kB / 0.6696 GB, free: 352 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1741, allocations: 51.41 kB / 0.6697 GB, free: 288 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.1742, allocations: 101.8 kB / 0.6698 GB, free: 176 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1742, allocations: 25.7 kB / 0.6698 GB, free: 144 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.1743, allocations: 88.05 kB / 0.6699 GB, free: 52 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.348e-06/0.1743, allocations: 16.05 kB / 0.6699 GB, free: 36 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.1743, allocations: 13.72 kB / 0.6699 GB, free: 16 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.1745, allocations: 322.9 kB / 0.6702 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.1745, allocations: 0 / 0.6702 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.608e-05/0.1745, allocations: 25.64 kB / 0.6703 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.787e-05/0.1746, allocations: 25.66 kB / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1746, allocations: 4 kB / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.801e-05/0.1747, allocations: 49.59 kB / 0.6703 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1747, allocations: 8 kB / 0.6703 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1747, allocations: 0 / 0.6703 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1747, allocations: 0 / 0.6703 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.1748, allocations: 7.938 kB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1748, allocations: 0 / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.1748, allocations: 4 kB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1748, allocations: 0 / 0.6704 GB, free: 15.55 MB / 0.5137 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.613e-05/0.1749, allocations: 121.8 kB / 0.6705 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.1749, allocations: 3.938 kB / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.1751, allocations: 119.5 kB / 0.6706 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.013e-05/0.1751, allocations: 180.2 kB / 0.6708 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.651e-05/0.1752, allocations: 180.5 kB / 0.6709 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.289e-05/0.1753, allocations: 188.2 kB / 0.6711 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.1755, allocations: 405.2 kB / 0.6715 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.569e-05/0.1755, allocations: 109 kB / 0.6716 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.1756, allocations: 108.9 kB / 0.6717 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-05/0.1757, allocations: 176.3 kB / 0.6719 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.354e-05/0.1757, allocations: 184.2 kB / 0.6721 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.404e-05/0.1758, allocations: 188.2 kB / 0.6722 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.403e-05/0.1759, allocations: 176.3 kB / 0.6724 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.176, allocations: 307.7 kB / 0.6727 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-05/0.1761, allocations: 189.9 kB / 0.6729 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.1762, allocations: 184.3 kB / 0.673 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1763, allocations: 105 kB / 0.6731 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.1764, allocations: 188.2 kB / 0.6733 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.1764, allocations: 101 kB / 0.6734 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.399e-05/0.1765, allocations: 87.28 kB / 0.6735 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1765, allocations: 0 / 0.6735 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002815/0.1768, allocations: 39.92 kB / 0.6735 GB, free: 12.05 MB / 0.5137 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.0005162/0.1773, allocations: 0.8684 MB / 0.6744 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.885e-05/0.1774, allocations: 7.984 kB / 0.6744 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1774, allocations: 0 / 0.6744 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/0.1774, allocations: 3.938 kB / 0.6744 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.1778, allocations: 463.8 kB / 0.6748 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009951/0.1788, allocations: 1.332 MB / 0.6761 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.1791, allocations: 0.6729 MB / 0.6768 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.017e-05/0.1791, allocations: 6.25 kB / 0.6768 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.1792, allocations: 15.42 kB / 0.6768 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1792, allocations: 0 / 0.6768 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.1978, allocations: 2.15 MB / 0.6789 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.242/7.439, allocations: 7.672 kB / 0.6789 GB, free: 6.586 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)