Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.798/2.798, allocations: 287.5 MB / 302.4 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00132/0.00132, allocations: 176.5 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000937/0.0009367, allocations: 91.55 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006888/0.0006892, allocations: 14.78 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3082, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004972/0.3132, allocations: 3.56 MB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002183/0.3135, allocations: 143.6 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.3135, allocations: 0 / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.981e-05/0.3137, allocations: 4 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.247e-05/0.3138, allocations: 15.91 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.3141, allocations: 49.05 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.143e-05/0.3142, allocations: 47.83 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.3142, allocations: 0 / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.662e-05/0.3143, allocations: 15.92 kB / 0.9822 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.988e-05/0.3144, allocations: 19.92 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.3144, allocations: 0 / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.3146, allocations: 31.91 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.3146, allocations: 7.984 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.3147, allocations: 33.7 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.3148, allocations: 24.2 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3148, allocations: 0 / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3148, allocations: 0 / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.3148, allocations: 0 / 0.9823 GB, free: 24.3 MB / 0.6198 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.0003306/0.3152, allocations: 331.3 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3152, allocations: 15.95 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.3153, allocations: 30.56 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.3153, allocations: 7.953 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.187e-05/0.3154, allocations: 159.1 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.3155, allocations: 33.7 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.3155, allocations: 4 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3157, allocations: 53.64 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3157, allocations: 3.938 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3157, allocations: 0 / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.3157, allocations: 7.953 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.371e-05/0.3158, allocations: 19.92 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.3163, allocations: 338 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.814e-05/0.3163, allocations: 14.58 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.3163, allocations: 4.859 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-05/0.3164, allocations: 85.17 kB / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.3165, allocations: 34.52 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.854e-06/0.3165, allocations: 0 / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001614/0.3167, allocations: 45.62 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.3167, allocations: 55.41 kB / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.3168, allocations: 97.84 kB / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.3168, allocations: 25.7 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.3168, allocations: 92.05 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.164e-06/0.3169, allocations: 3.906 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.3169, allocations: 0 / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.621e-05/0.3169, allocations: 310.8 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.317, allocations: 8.125 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-05/0.317, allocations: 21.7 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.601e-05/0.317, allocations: 4 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3171, allocations: 0 / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.044e-05/0.3172, allocations: 49.62 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3172, allocations: 9.516 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3172, allocations: 3.938 kB / 0.9841 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3172, allocations: 8.062 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.3173, allocations: 4 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3173, allocations: 0 / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.3173, allocations: 0 / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.3174, allocations: 4 kB / 0.9841 GB, free: 22.18 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/0.3174, allocations: 123.1 kB / 0.9842 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.3175, allocations: 4 kB / 0.9842 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.3176, allocations: 112.9 kB / 0.9843 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.779e-05/0.3177, allocations: 184.3 kB / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.829e-05/0.3177, allocations: 184.2 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/0.3178, allocations: 180.3 kB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.318, allocations: 413 kB / 0.9852 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-05/0.318, allocations: 101 kB / 0.9853 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.318, allocations: 112.9 kB / 0.9854 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.639e-05/0.3181, allocations: 180.3 kB / 0.9856 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.3181, allocations: 176.3 kB / 0.9858 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.836e-05/0.3182, allocations: 188.1 kB / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.718e-05/0.3182, allocations: 176.3 kB / 0.9861 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.3183, allocations: 311.8 kB / 0.9864 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.3184, allocations: 182.1 kB / 0.9866 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.3185, allocations: 180.2 kB / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.3187, allocations: 109 kB / 0.9869 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.3188, allocations: 200.4 kB / 0.9871 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.3188, allocations: 105 kB / 0.9872 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.21e-05/0.3189, allocations: 79.28 kB / 0.9872 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3189, allocations: 0 / 0.9872 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003126/0.3192, allocations: 23.94 kB / 0.9873 GB, free: 18.7 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004112/0.3196, allocations: 0.8165 MB / 0.9881 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.988e-05/0.3197, allocations: 12 kB / 0.9881 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3197, allocations: 0 / 0.9881 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.796e-06/0.3198, allocations: 0 / 0.9881 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/0.3203, allocations: 0.5302 MB / 0.9886 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.3208, allocations: 229.6 kB / 0.9888 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.3209, allocations: 0.6731 MB / 0.9895 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.406e-05/0.321, allocations: 11.97 kB / 0.9895 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.3211, allocations: 7.438 kB / 0.9895 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of SimCode: time 1.563e-06/0.3211, allocations: 7.938 kB / 0.9895 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.3439, allocations: 1.19 MB / 0.9907 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.3442, allocations: 189.9 kB / 0.9908 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/2.907, allocations: 4 kB / 0.9908 GB, free: 15.04 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)