Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_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.001519/0.001519, allocations: 101.6 kB / 15.98 MB, free: 5.848 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.001644/0.001644, allocations: 191.8 kB / 16.9 MB, free: 5.73 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.317/1.317, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6533/0.6533, allocations: 115.3 MB / 406.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001244, allocations: 67.89 kB / 493.2 MB, free: 0.6328 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2767, allocations: 76.16 MB / 0.556 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003743/0.2804, allocations: 3.325 MB / 0.5593 GB, free: 33.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 8.03e-05/0.2805, allocations: 59.94 kB / 0.5593 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.913e-05/0.2806, allocations: 0 / 0.5593 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.73e-05/0.2806, allocations: 3.469 kB / 0.5593 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.2807, allocations: 12.41 kB / 0.5593 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.2812, allocations: 174.9 kB / 0.5595 GB, free: 33.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.443e-05/0.2813, allocations: 30.73 kB / 0.5595 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.731e-05/0.2813, allocations: 6.125 kB / 0.5595 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.542e-05/0.2814, allocations: 19.77 kB / 0.5596 GB, free: 33.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.2814, allocations: 13.94 kB / 0.5596 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.2814, allocations: 1.625 kB / 0.5596 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.2817, allocations: 177.1 kB / 0.5597 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.2818, allocations: 4.125 kB / 0.5597 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.2818, allocations: 15.98 kB / 0.5598 GB, free: 33.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.282, allocations: 136.9 kB / 0.5599 GB, free: 33.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.282, allocations: 0.6562 kB / 0.5599 GB, free: 33.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2821, allocations: 0 / 0.5599 GB, free: 33.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.2821, allocations: 1.312 kB / 0.5599 GB, free: 33.69 MB / 446.1 MB 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.0002759/0.2823, allocations: 341.8 kB / 0.5602 GB, free: 33.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.2824, allocations: 9.156 kB / 0.5602 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.296e-05/0.2824, allocations: 38.48 kB / 0.5603 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.2824, allocations: 3.141 kB / 0.5603 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.653e-05/0.2825, allocations: 165.9 kB / 0.5604 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.2826, allocations: 37.78 kB / 0.5605 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.2826, allocations: 5.594 kB / 0.5605 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.944e-05/0.2827, allocations: 44.17 kB / 0.5605 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2827, allocations: 3.625 kB / 0.5605 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.2827, allocations: 1.469 kB / 0.5605 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.2827, allocations: 0.6094 kB / 0.5605 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.973e-05/0.2828, allocations: 15 kB / 0.5605 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.2832, allocations: 0.5813 MB / 0.5611 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.074e-05/0.2832, allocations: 20.33 kB / 0.5611 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.216e-05/0.2833, allocations: 8.094 kB / 0.5611 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.2834, allocations: 343.1 kB / 0.5615 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.2834, allocations: 38.31 kB / 0.5615 GB, free: 31.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2834, allocations: 0 / 0.5615 GB, free: 31.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001147/0.2835, allocations: 32.62 kB / 0.5615 GB, free: 31.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.73e-05/0.2836, allocations: 58.31 kB / 0.5616 GB, free: 31.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.868e-05/0.2836, allocations: 110.6 kB / 0.5617 GB, free: 31.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.2836, allocations: 25.7 kB / 0.5617 GB, free: 31.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.222e-05/0.2837, allocations: 87.66 kB / 0.5618 GB, free: 31.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-06/0.2837, allocations: 5.703 kB / 0.5618 GB, free: 31.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.2837, allocations: 18.38 kB / 0.5618 GB, free: 31.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.139e-05/0.2837, allocations: 318.2 kB / 0.5621 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.2837, allocations: 2.562 kB / 0.5621 GB, free: 31.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.2838, allocations: 23.12 kB / 0.5621 GB, free: 31.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.2838, allocations: 17.94 kB / 0.5622 GB, free: 31.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2838, allocations: 3.938 kB / 0.5622 GB, free: 31.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.513e-05/0.2839, allocations: 49.77 kB / 0.5622 GB, free: 31.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2839, allocations: 6.188 kB / 0.5622 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2839, allocations: 1.062 kB / 0.5622 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.2839, allocations: 6.391 kB / 0.5622 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.795e-05/0.284, allocations: 4.438 kB / 0.5622 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.284, allocations: 2 kB / 0.5622 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.284, allocations: 3.484 kB / 0.5622 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.284, allocations: 1.125 kB / 0.5622 GB, free: 31.14 MB / 446.1 MB 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 4.196e-05/0.2841, allocations: 121.4 kB / 0.5623 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.2841, allocations: 2.125 kB / 0.5624 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.857e-05/0.2842, allocations: 119.7 kB / 0.5625 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.2842, allocations: 182.8 kB / 0.5626 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.061e-05/0.2842, allocations: 183.1 kB / 0.5628 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.2842, allocations: 178.5 kB / 0.563 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.2844, allocations: 412.8 kB / 0.5634 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.2844, allocations: 106.9 kB / 0.5635 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.127e-05/0.2844, allocations: 106.6 kB / 0.5636 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/0.2844, allocations: 178.8 kB / 0.5638 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.2844, allocations: 178.9 kB / 0.5639 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.685e-05/0.2845, allocations: 183.1 kB / 0.5641 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.641e-05/0.2845, allocations: 178.2 kB / 0.5643 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.642e-05/0.2845, allocations: 316.7 kB / 0.5646 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.2846, allocations: 180.9 kB / 0.5647 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.2846, allocations: 183.6 kB / 0.5649 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.2847, allocations: 109.4 kB / 0.565 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.2848, allocations: 183.8 kB / 0.5652 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.2848, allocations: 106.5 kB / 0.5653 GB, free: 27.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.617e-05/0.2848, allocations: 84.78 kB / 0.5654 GB, free: 27.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2848, allocations: 0 / 0.5654 GB, free: 27.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.2851, allocations: 41.36 kB / 0.5654 GB, free: 27.76 MB / 446.1 MB 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.0002973/0.2854, allocations: 0.8638 MB / 0.5663 GB, free: 26.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.828e-05/0.2854, allocations: 17.52 kB / 0.5663 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2855, allocations: 0 / 0.5663 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.2855, allocations: 0 / 0.5663 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.2858, allocations: 460.2 kB / 0.5667 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.2864, allocations: 1.339 MB / 0.568 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.636e-05/0.2865, allocations: 0.6783 MB / 0.5687 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.933e-05/0.2865, allocations: 4.547 kB / 0.5687 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.2865, allocations: 14.84 kB / 0.5687 GB, free: 24.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2865, allocations: 0 / 0.5687 GB, free: 24.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.442/1.728, allocations: 2.055 MB / 0.5707 GB, free: 24.14 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/1.728, allocations: 261.5 kB / 0.571 GB, free: 23.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/3.522, allocations: 1.891 kB / 0.571 GB, free: 23.88 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)