Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.643/2.643, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.00167/0.00167, allocations: 182.8 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.19/2.19, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001129/0.001128, allocations: 85.84 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006438/0.0006438, allocations: 11.39 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2225, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004784/0.2274, allocations: 3.153 MB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002143/0.2276, allocations: 123.8 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.2277, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.2278, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.2278, allocations: 7.969 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.2282, allocations: 63.78 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.109e-05/0.2283, allocations: 19.95 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.2283, allocations: 0 / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.629e-05/0.2284, allocations: 12 kB / 0.9816 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.2284, allocations: 11.92 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.2284, allocations: 0 / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007185/0.2292, allocations: 155.6 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.2292, allocations: 11.98 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.2293, allocations: 25.7 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.2294, allocations: 28.2 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.2294, allocations: 0 / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2294, allocations: 0 / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2294, allocations: 4 kB / 0.9818 GB, free: 24.68 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.0003405/0.2298, allocations: 323.4 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2298, allocations: 8.031 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.631e-05/0.2299, allocations: 34.55 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.2299, allocations: 19.86 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.518e-05/0.23, allocations: 163 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/0.2301, allocations: 25.7 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.2301, allocations: 4 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.2303, allocations: 45.67 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2303, allocations: 0 / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2303, allocations: 0 / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.2304, allocations: 7.953 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.474e-05/0.2304, allocations: 15.98 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.2309, allocations: 338 kB / 0.9827 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.69e-05/0.2309, allocations: 18.52 kB / 0.9827 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.427e-05/0.231, allocations: 81.17 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.231, allocations: 38.52 kB / 0.9829 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.432e-06/0.231, allocations: 0 / 0.9829 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.2312, allocations: 37.69 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.2312, allocations: 59.34 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.2313, allocations: 97.86 kB / 0.983 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.2313, allocations: 25.7 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.2314, allocations: 92.03 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-06/0.2314, allocations: 3.906 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.2314, allocations: 4 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.2315, allocations: 314.8 kB / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.2315, allocations: 4.125 kB / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.2316, allocations: 21.7 kB / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.862e-05/0.2316, allocations: 4 kB / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2316, allocations: 0 / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.453e-05/0.2317, allocations: 53.62 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2317, allocations: 4 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2318, allocations: 3.953 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2318, allocations: 4.062 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.696e-05/0.2319, allocations: 8 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.2319, allocations: 3.984 kB / 0.9836 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.823e-05/0.2319, allocations: 3.938 kB / 0.9836 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.2319, allocations: 0 / 0.9836 GB, free: 22.58 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.326e-05/0.232, allocations: 109.8 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.232, allocations: 7.984 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.2322, allocations: 121.9 kB / 0.9838 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.831e-05/0.2322, allocations: 184.5 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.287e-05/0.2323, allocations: 184.2 kB / 0.9842 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.338e-05/0.2323, allocations: 180.2 kB / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.2325, allocations: 413.2 kB / 0.9847 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/0.2325, allocations: 104.9 kB / 0.9848 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.2326, allocations: 105 kB / 0.9849 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.578e-05/0.2326, allocations: 184.2 kB / 0.9851 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.2327, allocations: 180.3 kB / 0.9853 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.305e-05/0.2327, allocations: 176.3 kB / 0.9854 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-05/0.2327, allocations: 188.1 kB / 0.9856 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.2329, allocations: 311.7 kB / 0.9859 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.2329, allocations: 186.1 kB / 0.9861 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.233, allocations: 180.2 kB / 0.9863 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.2332, allocations: 105 kB / 0.9864 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.2333, allocations: 192.2 kB / 0.9865 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.2333, allocations: 108.9 kB / 0.9866 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.123e-05/0.2334, allocations: 83.28 kB / 0.9867 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2334, allocations: 0 / 0.9867 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000347/0.2337, allocations: 15.94 kB / 0.9867 GB, free: 19.11 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.0003436/0.2341, allocations: 0.8243 MB / 0.9875 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.732e-05/0.2342, allocations: 15.94 kB / 0.9876 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2342, allocations: 0 / 0.9876 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.2342, allocations: 0 / 0.9876 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.2345, allocations: 0.5226 MB / 0.9881 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.2349, allocations: 233.4 kB / 0.9883 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.2351, allocations: 0.677 MB / 0.989 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.687e-05/0.2352, allocations: 5.125 kB / 0.989 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.2352, allocations: 7.438 kB / 0.989 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/0.2352, allocations: 8 kB / 0.989 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.258, allocations: 1.191 MB / 0.9901 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003569/0.2584, allocations: 205.5 kB / 0.9903 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/2.781, allocations: 3.094 kB / 0.9903 GB, free: 15.47 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)