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.007292/0.007292, allocations: 103.3 kB / 15.73 MB, free: 6 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.001219/0.001219, allocations: 193.8 kB / 16.68 MB, free: 5.922 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7887/0.7887, allocations: 135.1 MB / 425.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 67.48 kB / 0.5851 GB, free: 21.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1659, allocations: 80.92 MB / 0.6641 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005964/0.1719, allocations: 4.011 MB / 0.668 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002275/0.1722, allocations: 167.5 kB / 0.6682 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.1723, allocations: 0 / 0.6682 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.1724, allocations: 3.938 kB / 0.6682 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.905e-05/0.1725, allocations: 15.92 kB / 0.6682 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.1729, allocations: 82.75 kB / 0.6683 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.1731, allocations: 39.78 kB / 0.6683 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.1731, allocations: 0 / 0.6683 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.1732, allocations: 19.97 kB / 0.6684 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.667e-05/0.1732, allocations: 4 kB / 0.6684 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1733, allocations: 0 / 0.6684 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.1735, allocations: 59.81 kB / 0.6684 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.1736, allocations: 15.91 kB / 0.6684 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.1736, allocations: 8 kB / 0.6684 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.1737, allocations: 46.7 kB / 0.6685 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1738, allocations: 4 kB / 0.6685 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.665e-06/0.1738, allocations: 4 kB / 0.6685 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.1738, allocations: 3.938 kB / 0.6685 GB, free: 1.828 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.0004586/0.1742, allocations: 327.6 kB / 0.6688 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1743, allocations: 9.109 kB / 0.6688 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.1743, allocations: 30.75 kB / 0.6689 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.1744, allocations: 4.938 kB / 0.6689 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1745, allocations: 169.1 kB / 0.669 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.229e-05/0.1746, allocations: 34.27 kB / 0.669 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1746, allocations: 4.125 kB / 0.6691 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1748, allocations: 41.69 kB / 0.6691 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1748, allocations: 0 / 0.6691 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1748, allocations: 8 kB / 0.6691 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.1748, allocations: 3.984 kB / 0.6691 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.017e-05/0.1749, allocations: 11.94 kB / 0.6691 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.1754, allocations: 338 kB / 0.6694 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.071e-05/0.1755, allocations: 22.58 kB / 0.6695 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.1755, allocations: 12.86 kB / 0.6695 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.1756, allocations: 89.08 kB / 0.6696 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1756, allocations: 30.56 kB / 0.6696 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1756, allocations: 0 / 0.6696 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000169/0.1758, allocations: 37.64 kB / 0.6696 GB, free: 472 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1759, allocations: 59.52 kB / 0.6697 GB, free: 400 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.907e-05/0.176, allocations: 101.9 kB / 0.6698 GB, free: 288 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.176, allocations: 25.7 kB / 0.6698 GB, free: 256 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.176, allocations: 84.05 kB / 0.6699 GB, free: 168 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.178e-06/0.176, allocations: 7.984 kB / 0.6699 GB, free: 160 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.1761, allocations: 17.62 kB / 0.6699 GB, free: 136 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1762, allocations: 314.8 kB / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.1762, allocations: 11.94 kB / 0.6702 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.1763, allocations: 21.7 kB / 0.6702 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.144e-05/0.1763, allocations: 25.66 kB / 0.6703 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1763, allocations: 0 / 0.6703 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.844e-05/0.1764, allocations: 41.69 kB / 0.6703 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1764, allocations: 9.5 kB / 0.6703 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1764, allocations: 0 / 0.6703 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.1765, allocations: 8.062 kB / 0.6703 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.443e-05/0.1765, allocations: 8 kB / 0.6703 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1765, allocations: 0 / 0.6703 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.1766, allocations: 0 / 0.6703 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.1766, allocations: 7.984 kB / 0.6703 GB, free: 15.67 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.233e-05/0.1767, allocations: 113.8 kB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.1767, allocations: 4 kB / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.1768, allocations: 117 kB / 0.6706 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.483e-05/0.1769, allocations: 184.2 kB / 0.6707 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-05/0.177, allocations: 180.2 kB / 0.6709 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.267e-05/0.177, allocations: 184.2 kB / 0.6711 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.1773, allocations: 409.2 kB / 0.6715 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-05/0.1773, allocations: 104.9 kB / 0.6716 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.1773, allocations: 105 kB / 0.6717 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.496e-05/0.1774, allocations: 180.3 kB / 0.6718 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.1775, allocations: 184.2 kB / 0.672 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-05/0.1775, allocations: 176.3 kB / 0.6722 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.701e-05/0.1776, allocations: 184.2 kB / 0.6724 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.1778, allocations: 315.6 kB / 0.6727 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.1778, allocations: 186 kB / 0.6728 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.336e-05/0.1779, allocations: 180.3 kB / 0.673 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1781, allocations: 116.9 kB / 0.6731 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.1781, allocations: 180.3 kB / 0.6733 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.1782, allocations: 101 kB / 0.6734 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.131e-05/0.1782, allocations: 87.28 kB / 0.6735 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1782, allocations: 0 / 0.6735 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000244/0.1785, allocations: 19.88 kB / 0.6735 GB, free: 12.21 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.0005505/0.179, allocations: 0.8451 MB / 0.6743 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.083e-05/0.1791, allocations: 8 kB / 0.6743 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1791, allocations: 3.938 kB / 0.6743 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.1792, allocations: 0 / 0.6743 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.1795, allocations: 463.8 kB / 0.6748 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1807, allocations: 1.313 MB / 0.6761 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.1809, allocations: 0.6729 MB / 0.6767 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.246e-05/0.181, allocations: 7.984 kB / 0.6767 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.181, allocations: 15.44 kB / 0.6767 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.181, allocations: 0 / 0.6767 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.198, allocations: 1.512 MB / 0.6782 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/7.676, allocations: 2.484 kB / 0.6782 GB, free: 7.324 MB / 0.5137 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)