Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.0008964/0.0008963, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009378/0.0009378, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.706/1.706, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.0005406/0.0005407, allocations: 15.66 kB / 0.6738 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2304, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.0043/0.2348, allocations: 3.932 MB / 0.7912 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002466/0.2373, allocations: 2.459 MB / 0.7936 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.2374, allocations: 0 / 0.7936 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.2376, allocations: 31.81 kB / 0.7936 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.2378, allocations: 95.41 kB / 0.7937 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008606/0.2387, allocations: 376.7 kB / 0.7941 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.239, allocations: 259.9 kB / 0.7943 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.239, allocations: 13.55 kB / 0.7944 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009083/0.2399, allocations: 406.7 kB / 0.7947 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.2401, allocations: 91.66 kB / 0.7948 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.2401, allocations: 4 kB / 0.7948 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007916/0.2409, allocations: 375.3 kB / 0.7952 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.241, allocations: 39.83 kB / 0.7952 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.241, allocations: 53.64 kB / 0.7953 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.2413, allocations: 207.8 kB / 0.7955 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2413, allocations: 4 kB / 0.7955 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2413, allocations: 0 / 0.7955 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.2413, allocations: 3.938 kB / 0.7955 GB, free: 3.5 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005778/0.2419, allocations: 471.1 kB / 0.7959 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.242, allocations: 8.031 kB / 0.7959 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.242, allocations: 54.55 kB / 0.796 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.2422, allocations: 27.75 kB / 0.796 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.2424, allocations: 206.8 kB / 0.7962 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.2424, allocations: 12.31 kB / 0.7962 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.2424, allocations: 20 kB / 0.7963 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.2427, allocations: 241 kB / 0.7965 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2428, allocations: 4 kB / 0.7965 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.2428, allocations: 4 kB / 0.7965 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.2428, allocations: 8 kB / 0.7965 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.2433, allocations: 435.4 kB / 0.7969 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009477/0.2442, allocations: 1.008 MB / 0.7979 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.2445, allocations: 153.9 kB / 0.798 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.387e-05/0.2446, allocations: 60.89 kB / 0.7981 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/0.2459, allocations: 1.821 MB / 0.7999 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.2459, allocations: 46.5 kB / 0.7999 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.2459, allocations: 0 / 0.7999 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.000319/0.2463, allocations: 141.4 kB / 0.8001 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.2463, allocations: 51.41 kB / 0.8001 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.2465, allocations: 167.3 kB / 0.8003 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2465, allocations: 29.7 kB / 0.8003 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.2466, allocations: 139.8 kB / 0.8004 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.2466, allocations: 59.19 kB / 0.8005 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.2467, allocations: 8 kB / 0.8005 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2468, allocations: 318.8 kB / 0.8008 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.747e-05/0.2469, allocations: 39.97 kB / 0.8008 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.247, allocations: 141.7 kB / 0.801 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.2471, allocations: 59.16 kB / 0.801 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2471, allocations: 0 / 0.801 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003094/0.2474, allocations: 217.2 kB / 0.8012 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.2475, allocations: 8 kB / 0.8012 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2475, allocations: 4 kB / 0.8012 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2475, allocations: 4 kB / 0.8013 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.2477, allocations: 59.91 kB / 0.8013 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.2477, allocations: 7.938 kB / 0.8013 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.2478, allocations: 27.69 kB / 0.8013 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.2479, allocations: 20 kB / 0.8014 GB, free: 12.79 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001083/0.248, allocations: 130 kB / 0.8015 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.248, allocations: 19.84 kB / 0.8015 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.2483, allocations: 154.9 kB / 0.8017 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.2484, allocations: 7.938 kB / 0.8017 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2484, allocations: 0 / 0.8017 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2484, allocations: 0 / 0.8017 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.2486, allocations: 221.4 kB / 0.8019 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2486, allocations: 0 / 0.8019 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-05/0.2487, allocations: 23.94 kB / 0.8019 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.2487, allocations: 4 kB / 0.8019 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.2488, allocations: 15.94 kB / 0.8019 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2488, allocations: 0 / 0.8019 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2488, allocations: 0 / 0.8019 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.249, allocations: 211.6 kB / 0.8021 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.2491, allocations: 104.9 kB / 0.8022 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.2491, allocations: 0 / 0.8022 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.2493, allocations: 27.17 kB / 0.8022 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.2493, allocations: 7.984 kB / 0.8022 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.2494, allocations: 8 kB / 0.8023 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9e-05/0.2495, allocations: 120 kB / 0.8024 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2495, allocations: 3.938 kB / 0.8024 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003786/0.2499, allocations: 75.92 kB / 0.8024 GB, free: 11.58 MB / 0.6231 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0006014/0.2505, allocations: 0.8253 MB / 0.8033 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.2507, allocations: 111.8 kB / 0.8034 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2507, allocations: 0.9375 kB / 0.8034 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.094e-05/0.2508, allocations: 47.86 kB / 0.8034 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.2512, allocations: 55.91 kB / 0.8035 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.2527, allocations: 1.006 MB / 0.8044 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.253, allocations: 0.7133 MB / 0.8051 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000185/0.2532, allocations: 57.66 kB / 0.8052 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.2532, allocations: 43.42 kB / 0.8052 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.2532, allocations: 0 / 0.8052 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.2687, allocations: 4.647 MB / 0.8098 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.2689, allocations: 193.1 kB / 0.81 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.071, allocations: 0 / 0.81 GB, free: 3.867 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) Environment - environmentSimulation: