Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.0009722/0.0009721, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005393/0.005393, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9552/0.9552, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003038, allocations: 8 kB / 0.5077 GB, free: 4.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.169, allocations: 82.3 MB / 0.5881 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003902/0.1729, allocations: 3.68 MB / 0.5917 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001841/0.1731, allocations: 159.5 kB / 0.5918 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.312e-05/0.1731, allocations: 0 / 0.5918 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.817e-05/0.1732, allocations: 4 kB / 0.5918 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.1733, allocations: 15.91 kB / 0.5918 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.1736, allocations: 79.75 kB / 0.5919 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.623e-05/0.1737, allocations: 55.83 kB / 0.592 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.1737, allocations: 3.984 kB / 0.592 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.276e-05/0.1738, allocations: 11.98 kB / 0.592 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.1738, allocations: 19.92 kB / 0.592 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.1739, allocations: 0 / 0.592 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.1741, allocations: 75.78 kB / 0.5921 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.1741, allocations: 7.984 kB / 0.5921 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.1741, allocations: 33.64 kB / 0.5921 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.1743, allocations: 52.17 kB / 0.5921 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1743, allocations: 0 / 0.5921 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1743, allocations: 0 / 0.5921 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.1743, allocations: 0 / 0.5921 GB, free: 14.33 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.0003283/0.1746, allocations: 335.5 kB / 0.5925 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1747, allocations: 11.97 kB / 0.5925 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.1747, allocations: 34.73 kB / 0.5925 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.1747, allocations: 4.938 kB / 0.5925 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.794e-05/0.1748, allocations: 160.4 kB / 0.5927 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/0.1749, allocations: 34.2 kB / 0.5927 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1749, allocations: 8.125 kB / 0.5927 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.1751, allocations: 45.67 kB / 0.5928 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1751, allocations: 0 / 0.5928 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1751, allocations: 0 / 0.5928 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.1751, allocations: 4 kB / 0.5928 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.401e-05/0.1752, allocations: 15.92 kB / 0.5928 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.1756, allocations: 338 kB / 0.5931 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.008e-05/0.1756, allocations: 22.61 kB / 0.5931 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.1756, allocations: 4.859 kB / 0.5931 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.52e-05/0.1757, allocations: 85.17 kB / 0.5932 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1757, allocations: 30.56 kB / 0.5932 GB, free: 13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1758, allocations: 0 / 0.5932 GB, free: 13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.1759, allocations: 45.66 kB / 0.5933 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.1759, allocations: 55.41 kB / 0.5933 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.176, allocations: 97.86 kB / 0.5934 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.176, allocations: 25.7 kB / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.1761, allocations: 99.97 kB / 0.5935 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-06/0.1761, allocations: 0 / 0.5935 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.1761, allocations: 9.719 kB / 0.5936 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/0.1762, allocations: 318.8 kB / 0.5939 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.1762, allocations: 4 kB / 0.5939 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.1763, allocations: 25.7 kB / 0.5939 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.1763, allocations: 25.66 kB / 0.5939 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1763, allocations: 0 / 0.5939 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.785e-05/0.1764, allocations: 45.62 kB / 0.594 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.1764, allocations: 4 kB / 0.594 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1764, allocations: 0 / 0.594 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1764, allocations: 8.062 kB / 0.594 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.05e-05/0.1765, allocations: 4 kB / 0.594 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1765, allocations: 0 / 0.594 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.1765, allocations: 8 kB / 0.594 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1765, allocations: 4 kB / 0.594 GB, free: 12.17 MB / 0.4981 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 6.652e-05/0.1766, allocations: 113.8 kB / 0.5941 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.1766, allocations: 7.906 kB / 0.5941 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.1768, allocations: 120.8 kB / 0.5942 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.786e-05/0.1769, allocations: 188.2 kB / 0.5944 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.383e-05/0.1769, allocations: 180.2 kB / 0.5946 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.265e-05/0.177, allocations: 180.2 kB / 0.5947 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.1772, allocations: 409.2 kB / 0.5951 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.842e-05/0.1773, allocations: 104.9 kB / 0.5952 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.1773, allocations: 105.3 kB / 0.5953 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.012e-05/0.1774, allocations: 180.3 kB / 0.5955 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.554e-05/0.1774, allocations: 180.2 kB / 0.5957 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.935e-05/0.1775, allocations: 180.2 kB / 0.5958 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.48e-05/0.1776, allocations: 180.2 kB / 0.596 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.1777, allocations: 311.8 kB / 0.5963 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.1778, allocations: 194 kB / 0.5965 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.1779, allocations: 176.3 kB / 0.5967 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.178, allocations: 116.9 kB / 0.5968 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.1781, allocations: 180.5 kB / 0.5969 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.1781, allocations: 105 kB / 0.597 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.759e-05/0.1782, allocations: 87.22 kB / 0.5971 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1782, allocations: 0 / 0.5971 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002368/0.1784, allocations: 23.92 kB / 0.5972 GB, free: 8.691 MB / 0.4981 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.0004799/0.1789, allocations: 0.8319 MB / 0.598 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.669e-05/0.179, allocations: 11.94 kB / 0.598 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.179, allocations: 0 / 0.598 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.179, allocations: 0 / 0.598 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.1794, allocations: 0.5356 MB / 0.5985 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1806, allocations: 1.322 MB / 0.5998 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.1809, allocations: 0.677 MB / 0.6004 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.839e-05/0.181, allocations: 8 kB / 0.6005 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.181, allocations: 11.38 kB / 0.6005 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.181, allocations: 0 / 0.6005 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1672/0.3482, allocations: 1.295 MB / 0.6017 GB, free: 4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003267/0.3486, allocations: 206.3 kB / 0.6019 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.353, allocations: 4 kB / 0.6019 GB, free: 3.734 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)