Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.767/2.767, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001274/0.001274, allocations: 179 kB / 371 MB, free: 10.88 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.212/2.212, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009966/0.0009963, allocations: 97.09 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005339/0.0005344, allocations: 14.94 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2306, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005735/0.2363, allocations: 3.932 MB / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003312/0.2397, allocations: 2.451 MB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.24, allocations: 0 / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.2403, allocations: 35.75 kB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.2406, allocations: 91.48 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.2422, allocations: 369.6 kB / 0.9851 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.2425, allocations: 263.9 kB / 0.9854 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.2426, allocations: 13.5 kB / 0.9854 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.2439, allocations: 403 kB / 0.9858 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.2441, allocations: 83.67 kB / 0.9859 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.2441, allocations: 8 kB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.2456, allocations: 387.2 kB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.196e-05/0.2457, allocations: 35.88 kB / 0.9863 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.712e-05/0.2458, allocations: 53.64 kB / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005376/0.2464, allocations: 203.8 kB / 0.9865 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2464, allocations: 0 / 0.9865 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2464, allocations: 0 / 0.9865 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.014e-06/0.2464, allocations: 0 / 0.9865 GB, free: 19.98 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007998/0.2472, allocations: 475.1 kB / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.2473, allocations: 16.02 kB / 0.987 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.211e-05/0.2474, allocations: 50.55 kB / 0.987 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.2476, allocations: 27.7 kB / 0.9871 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.2478, allocations: 206.8 kB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2479, allocations: 12.33 kB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.922e-05/0.2479, allocations: 16 kB / 0.9873 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.2484, allocations: 245 kB / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2484, allocations: 0 / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.2485, allocations: 15.97 kB / 0.9875 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.2485, allocations: 11.95 kB / 0.9876 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006265/0.2492, allocations: 435.4 kB / 0.988 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.2506, allocations: 1.004 MB / 0.9889 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.251, allocations: 152.4 kB / 0.9891 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.2511, allocations: 64.88 kB / 0.9892 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/0.2526, allocations: 1.825 MB / 0.9909 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.2526, allocations: 34.56 kB / 0.991 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.284e-06/0.2527, allocations: 3.938 kB / 0.991 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0004319/0.2531, allocations: 141.4 kB / 0.9911 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.2531, allocations: 59.41 kB / 0.9912 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.2533, allocations: 164.9 kB / 0.9913 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.2534, allocations: 25.7 kB / 0.9913 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.2534, allocations: 143.8 kB / 0.9915 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.2535, allocations: 55.2 kB / 0.9915 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.2535, allocations: 4 kB / 0.9915 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.803e-05/0.2536, allocations: 322.8 kB / 0.9918 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.2537, allocations: 35.97 kB / 0.9919 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.2539, allocations: 142.2 kB / 0.992 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.254, allocations: 54.05 kB / 0.9921 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.254, allocations: 8 kB / 0.9921 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004466/0.2545, allocations: 213 kB / 0.9923 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.2545, allocations: 8 kB / 0.9923 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.2546, allocations: 4.469 kB / 0.9923 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.2546, allocations: 8 kB / 0.9923 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.2549, allocations: 51.92 kB / 0.9924 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.255, allocations: 11.92 kB / 0.9924 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.2552, allocations: 35.67 kB / 0.9924 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.2552, allocations: 12 kB / 0.9924 GB, free: 13.25 MB / 0.6198 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.0001322/0.2554, allocations: 129.8 kB / 0.9925 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.2554, allocations: 15.86 kB / 0.9925 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/0.2559, allocations: 166.8 kB / 0.9927 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-05/0.2559, allocations: 0 / 0.9927 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2559, allocations: 4 kB / 0.9927 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.2559, allocations: 0 / 0.9927 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.2563, allocations: 217.5 kB / 0.9929 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2563, allocations: 0 / 0.9929 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.2564, allocations: 23.98 kB / 0.9929 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.2565, allocations: 3.953 kB / 0.9929 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.2565, allocations: 4 kB / 0.9929 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2565, allocations: 0 / 0.9929 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.2565, allocations: 4 kB / 0.993 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.2568, allocations: 224.9 kB / 0.9932 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.2569, allocations: 104.9 kB / 0.9933 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.257, allocations: 7.891 kB / 0.9933 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.2573, allocations: 15.97 kB / 0.9933 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.2573, allocations: 11.98 kB / 0.9933 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.2574, allocations: 8 kB / 0.9933 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.92e-05/0.2575, allocations: 128.2 kB / 0.9934 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2575, allocations: 0 / 0.9934 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005146/0.258, allocations: 75.92 kB / 0.9935 GB, free: 12.04 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 (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.0007071/0.2587, allocations: 0.8108 MB / 0.9943 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003388/0.2591, allocations: 110.2 kB / 0.9944 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.2591, allocations: 4 kB / 0.9944 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.804e-05/0.2592, allocations: 55.78 kB / 0.9945 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007545/0.26, allocations: 56.8 kB / 0.9945 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.2619, allocations: 0.9988 MB / 0.9955 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.2621, allocations: 0.7133 MB / 0.9962 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003114/0.2624, allocations: 49.73 kB / 0.9962 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.392e-05/0.2625, allocations: 43.42 kB / 0.9963 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of SimCode: time 9.769e-06/0.2626, allocations: 4 kB / 0.9963 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.2924, allocations: 4.648 MB / 1.001 GB, free: 4.574 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003248/0.2928, allocations: 197.6 kB / 1.001 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/3.081, allocations: 7.875 kB / 1.001 GB, free: 4.328 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)