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.645/2.645, allocations: 287.3 MB / 302.3 MB, free: 8.223 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.001611/0.001611, allocations: 182.7 kB / 370.8 MB, free: 10.86 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.264/2.264, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001206/0.001206, allocations: 86.98 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007867/0.0007868, allocations: 10.39 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2472, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005086/0.2523, allocations: 3.386 MB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000229/0.2526, allocations: 123.8 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.2527, allocations: 0 / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.2528, allocations: 0 / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.415e-05/0.2529, allocations: 11.91 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.2533, allocations: 59.84 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.82e-05/0.2533, allocations: 11.98 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.445e-05/0.2534, allocations: 7.984 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.377e-05/0.2535, allocations: 15.92 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.2535, allocations: 4 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.2536, allocations: 0 / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.2538, allocations: 35.97 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.2539, allocations: 7.922 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.2539, allocations: 29.7 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.2541, allocations: 32.14 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2541, allocations: 8 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2541, allocations: 0 / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.2541, allocations: 0 / 0.9819 GB, free: 24.55 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.0004245/0.2545, allocations: 331.2 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.2546, allocations: 16.02 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.2546, allocations: 30.56 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.2547, allocations: 3.953 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.735e-05/0.2548, allocations: 163.1 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-05/0.2549, allocations: 33.69 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.2549, allocations: 4 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.2551, allocations: 45.62 kB / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2551, allocations: 0 / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.2551, allocations: 0 / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.2552, allocations: 3.953 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.112e-05/0.2553, allocations: 15.98 kB / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.2557, allocations: 334 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.308e-05/0.2558, allocations: 22.58 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.162e-05/0.2559, allocations: 81.17 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.2559, allocations: 42.45 kB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.634e-06/0.256, allocations: 0 / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001702/0.2561, allocations: 41.69 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.2562, allocations: 51.41 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.2563, allocations: 106 kB / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2563, allocations: 33.7 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.2563, allocations: 84.05 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-06/0.2564, allocations: 3.906 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.2564, allocations: 0 / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.2564, allocations: 310.8 kB / 0.9836 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.2565, allocations: 8 kB / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.2565, allocations: 21.64 kB / 0.9836 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.774e-05/0.2566, allocations: 8 kB / 0.9836 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2566, allocations: 0 / 0.9836 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.67e-05/0.2567, allocations: 45.69 kB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.2567, allocations: 10.03 kB / 0.9837 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2567, allocations: 3.953 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2567, allocations: 0 / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.2568, allocations: 7.938 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2568, allocations: 0 / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/0.2569, allocations: 8.062 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.2569, allocations: 3.938 kB / 0.9837 GB, free: 22.45 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 7.258e-05/0.257, allocations: 117.8 kB / 0.9838 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.257, allocations: 3.938 kB / 0.9838 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.2572, allocations: 113 kB / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-05/0.2572, allocations: 192.2 kB / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-05/0.2573, allocations: 184.3 kB / 0.9843 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.229e-05/0.2573, allocations: 184.2 kB / 0.9845 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.2575, allocations: 405.1 kB / 0.9848 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/0.2575, allocations: 101 kB / 0.9849 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.2576, allocations: 112.9 kB / 0.985 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-05/0.2576, allocations: 176.3 kB / 0.9852 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.2577, allocations: 184.2 kB / 0.9854 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.794e-05/0.2577, allocations: 180.2 kB / 0.9856 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.743e-05/0.2578, allocations: 188.2 kB / 0.9857 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.2579, allocations: 299.8 kB / 0.986 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.2579, allocations: 190 kB / 0.9862 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/0.258, allocations: 180.3 kB / 0.9864 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.2582, allocations: 113 kB / 0.9865 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.2583, allocations: 184.2 kB / 0.9867 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.2583, allocations: 101 kB / 0.9868 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.546e-05/0.2584, allocations: 79.28 kB / 0.9868 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2584, allocations: 4 kB / 0.9868 GB, free: 19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005777/0.259, allocations: 23.92 kB / 0.9869 GB, free: 18.98 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.0005151/0.2595, allocations: 0.8165 MB / 0.9877 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.2597, allocations: 16.06 kB / 0.9877 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2597, allocations: 0 / 0.9877 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.492e-06/0.2597, allocations: 3.938 kB / 0.9877 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.2602, allocations: 0.5224 MB / 0.9882 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/0.2609, allocations: 229.5 kB / 0.9884 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.2611, allocations: 0.677 MB / 0.9891 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.858e-05/0.2612, allocations: 4 kB / 0.9891 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.2613, allocations: 11.44 kB / 0.9891 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of SimCode: time 1.363e-06/0.2613, allocations: 0 / 0.9891 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.2847, allocations: 1.186 MB / 0.9902 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/0.285, allocations: 195.8 kB / 0.9904 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/2.664, allocations: 0 / 0.9904 GB, free: 15.32 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)