Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.001079/0.001079, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001316, allocations: 186.4 kB / 16.62 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.569/1.569, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.829/1.829, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001438/0.001439, allocations: 70.89 kB / 0.6717 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2513, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006215/0.2576, allocations: 3.723 MB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000215/0.2579, allocations: 147.5 kB / 0.7874 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.2579, allocations: 0 / 0.7874 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.2581, allocations: 7.922 kB / 0.7874 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.411e-05/0.2582, allocations: 19.92 kB / 0.7874 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.2586, allocations: 63.77 kB / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.636e-05/0.2587, allocations: 31.84 kB / 0.7875 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.351e-05/0.2587, allocations: 8 kB / 0.7875 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.213e-05/0.2588, allocations: 15.92 kB / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.2589, allocations: 7.984 kB / 0.7875 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.2589, allocations: 4 kB / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006098/0.2595, allocations: 191.4 kB / 0.7877 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.2596, allocations: 8 kB / 0.7877 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.2596, allocations: 7.938 kB / 0.7877 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.2597, allocations: 52.11 kB / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2598, allocations: 0 / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2598, allocations: 0 / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.2598, allocations: 0 / 0.7878 GB, free: 8.934 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.0004719/0.2603, allocations: 335.4 kB / 0.7881 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.2603, allocations: 12.03 kB / 0.7881 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.2604, allocations: 34.73 kB / 0.7882 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.2604, allocations: 4.938 kB / 0.7882 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.2605, allocations: 168.3 kB / 0.7883 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.411e-05/0.2606, allocations: 26.27 kB / 0.7883 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.2606, allocations: 8.125 kB / 0.7883 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.2608, allocations: 41.69 kB / 0.7884 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2608, allocations: 0 / 0.7884 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2608, allocations: 0 / 0.7884 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.2609, allocations: 3.984 kB / 0.7884 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.512e-05/0.2609, allocations: 19.94 kB / 0.7884 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.2614, allocations: 334 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.997e-05/0.2615, allocations: 18.58 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.2615, allocations: 4.859 kB / 0.7888 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.125e-05/0.2616, allocations: 85.16 kB / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.2616, allocations: 38.5 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2616, allocations: 4 kB / 0.7889 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.2618, allocations: 41.55 kB / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2619, allocations: 51.41 kB / 0.789 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.262, allocations: 105.8 kB / 0.7891 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.262, allocations: 29.7 kB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.262, allocations: 84.05 kB / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/0.262, allocations: 4 kB / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.2621, allocations: 13.83 kB / 0.7892 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2622, allocations: 326.8 kB / 0.7895 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.2622, allocations: 4 kB / 0.7895 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.2623, allocations: 17.7 kB / 0.7895 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.104e-05/0.2623, allocations: 29.66 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2623, allocations: 3.938 kB / 0.7896 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.504e-05/0.2624, allocations: 49.69 kB / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.2624, allocations: 8.938 kB / 0.7896 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.2624, allocations: 0 / 0.7896 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2625, allocations: 3.938 kB / 0.7896 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.991e-05/0.2625, allocations: 4 kB / 0.7896 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.2625, allocations: 0 / 0.7896 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.2626, allocations: 7.906 kB / 0.7896 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.2626, allocations: 0 / 0.7896 GB, free: 6.766 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 9.143e-05/0.2627, allocations: 117.8 kB / 0.7897 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.2627, allocations: 4.062 kB / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.2628, allocations: 119.7 kB / 0.7899 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.255e-05/0.2629, allocations: 180.2 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.935e-05/0.263, allocations: 180.2 kB / 0.7902 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.261e-05/0.2631, allocations: 184.2 kB / 0.7904 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.2634, allocations: 413.1 kB / 0.7908 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.752e-05/0.2634, allocations: 105 kB / 0.7909 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.2635, allocations: 104.9 kB / 0.791 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.368e-05/0.2635, allocations: 176.3 kB / 0.7911 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.966e-05/0.2636, allocations: 184.2 kB / 0.7913 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.758e-05/0.2637, allocations: 184.2 kB / 0.7915 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.045e-05/0.2637, allocations: 184.2 kB / 0.7917 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.2639, allocations: 303.8 kB / 0.792 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.264, allocations: 186 kB / 0.7921 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.257e-05/0.264, allocations: 180.3 kB / 0.7923 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.2642, allocations: 112.9 kB / 0.7924 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/0.2643, allocations: 184.2 kB / 0.7926 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.2643, allocations: 101 kB / 0.7927 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.169e-05/0.2643, allocations: 87.28 kB / 0.7928 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2644, allocations: 3.938 kB / 0.7928 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002488/0.2646, allocations: 15.94 kB / 0.7928 GB, free: 3.305 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.0005203/0.2651, allocations: 0.8399 MB / 0.7936 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.554e-05/0.2652, allocations: 4 kB / 0.7936 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2652, allocations: 0 / 0.7936 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.937e-06/0.2652, allocations: 16 kB / 0.7936 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.2656, allocations: 458.1 kB / 0.7941 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.2667, allocations: 1.324 MB / 0.7954 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.267, allocations: 0.6729 MB / 0.796 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.198e-05/0.2671, allocations: 11.98 kB / 0.796 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.2671, allocations: 11.44 kB / 0.796 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2671, allocations: 0 / 0.796 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.2857, allocations: 1.472 MB / 0.7975 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/7.955, allocations: 6.688 kB / 0.7975 GB, free: 14.5 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)