Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_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.0007131/0.0007131, allocations: 91.84 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.004111/0.004111, allocations: 170.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.204/1.204, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.519/1.519, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005254/0.0005254, allocations: 17.31 kB / 0.6744 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1751, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003484/0.1786, allocations: 3.696 MB / 0.7916 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001588/0.1788, allocations: 151.5 kB / 0.7917 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.143e-05/0.1788, allocations: 0 / 0.7917 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.864e-05/0.1789, allocations: 0 / 0.7917 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.1789, allocations: 15.92 kB / 0.7917 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.1791, allocations: 67.27 kB / 0.7918 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.085e-05/0.1792, allocations: 51.89 kB / 0.7919 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3e-05/0.1792, allocations: 7.938 kB / 0.7919 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.96e-05/0.1793, allocations: 11.98 kB / 0.7919 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.1793, allocations: 15.92 kB / 0.7919 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.1793, allocations: 4 kB / 0.7919 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.1795, allocations: 75.77 kB / 0.792 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.1796, allocations: 8 kB / 0.792 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.1796, allocations: 33.64 kB / 0.792 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.773e-05/0.1797, allocations: 44.17 kB / 0.7921 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1797, allocations: 7.938 kB / 0.7921 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1797, allocations: 0 / 0.7921 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.625e-06/0.1797, allocations: 0 / 0.7921 GB, free: 7.273 MB / 0.6075 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.0002914/0.18, allocations: 327.5 kB / 0.7924 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1801, allocations: 12.03 kB / 0.7924 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/0.1801, allocations: 38.67 kB / 0.7924 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.022e-05/0.1801, allocations: 0.9375 kB / 0.7924 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.651e-05/0.1802, allocations: 164.4 kB / 0.7926 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.041e-05/0.1803, allocations: 30.27 kB / 0.7926 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.1803, allocations: 4.125 kB / 0.7926 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1804, allocations: 45.69 kB / 0.7927 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1804, allocations: 4 kB / 0.7927 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1804, allocations: 3.984 kB / 0.7927 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.1804, allocations: 3.938 kB / 0.7927 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.545e-05/0.1805, allocations: 15.94 kB / 0.7927 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.1809, allocations: 334 kB / 0.793 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 2.545e-05/0.1809, allocations: 22.58 kB / 0.793 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.2e-05/0.1809, allocations: 8.859 kB / 0.793 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.217e-05/0.181, allocations: 85.16 kB / 0.7931 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.181, allocations: 34.56 kB / 0.7931 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.181, allocations: 0 / 0.7931 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001019/0.1811, allocations: 33.64 kB / 0.7932 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.1812, allocations: 59.52 kB / 0.7932 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.895e-05/0.1812, allocations: 105.8 kB / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.1812, allocations: 25.7 kB / 0.7934 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.1813, allocations: 84.05 kB / 0.7934 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.1813, allocations: 15.89 kB / 0.7935 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.1813, allocations: 9.719 kB / 0.7935 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.1814, allocations: 314.8 kB / 0.7938 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.1814, allocations: 4 kB / 0.7938 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/0.1814, allocations: 21.72 kB / 0.7938 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.1815, allocations: 25.64 kB / 0.7938 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1815, allocations: 0 / 0.7938 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.51e-05/0.1815, allocations: 49.69 kB / 0.7939 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.1816, allocations: 4 kB / 0.7939 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.1816, allocations: 0 / 0.7939 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.1816, allocations: 64 / 0.7939 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.461e-05/0.1816, allocations: 15.94 kB / 0.7939 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.1816, allocations: 0 / 0.7939 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.426e-05/0.1816, allocations: 0 / 0.7939 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1817, allocations: 4 kB / 0.7939 GB, free: 5.121 MB / 0.6075 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 5.598e-05/0.1817, allocations: 113.8 kB / 0.794 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.1817, allocations: 7.922 kB / 0.794 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.2e-05/0.1818, allocations: 116.9 kB / 0.7941 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.685e-05/0.1819, allocations: 184.2 kB / 0.7943 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.707e-05/0.1819, allocations: 184.3 kB / 0.7945 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.705e-05/0.182, allocations: 184.2 kB / 0.7946 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.1822, allocations: 405.2 kB / 0.795 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/0.1822, allocations: 105 kB / 0.7951 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.1822, allocations: 112.9 kB / 0.7952 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.372e-05/0.1823, allocations: 176.3 kB / 0.7954 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.1823, allocations: 184.2 kB / 0.7956 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.506e-05/0.1824, allocations: 176.3 kB / 0.7957 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.455e-05/0.1824, allocations: 180.2 kB / 0.7959 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.938e-05/0.1825, allocations: 311.7 kB / 0.7962 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.1826, allocations: 190 kB / 0.7964 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.459e-05/0.1827, allocations: 176.3 kB / 0.7966 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.1828, allocations: 113 kB / 0.7967 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.1829, allocations: 184.2 kB / 0.7968 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.1829, allocations: 105 kB / 0.7969 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.1829, allocations: 87.28 kB / 0.797 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1829, allocations: 0 / 0.797 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002178/0.1832, allocations: 27.88 kB / 0.7971 GB, free: 1.648 MB / 0.6075 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.0003854/0.1835, allocations: 0.8324 MB / 0.7979 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.447e-05/0.1836, allocations: 8.016 kB / 0.7979 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1836, allocations: 0 / 0.7979 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.548e-06/0.1836, allocations: 7.938 kB / 0.7979 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.184, allocations: 0.5292 MB / 0.7984 GB, free: 248 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008057/0.1848, allocations: 1.326 MB / 0.7997 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.185, allocations: 0.6731 MB / 0.8004 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.643e-05/0.185, allocations: 19.86 kB / 0.8004 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.1851, allocations: 7.438 kB / 0.8004 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of SimCode: time 1.9e-07/0.1851, allocations: 0 / 0.8004 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.909/3.094, allocations: 1.26 MB / 0.8016 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/3.094, allocations: 207.1 kB / 0.8018 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/4.887, allocations: 0 / 0.8018 GB, free: 12.71 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)