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.707/2.707, allocations: 287.3 MB / 302.3 MB, free: 8.367 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.00247/0.00247, allocations: 179.9 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.342/2.342, 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.001127/0.001127, allocations: 89.31 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.0005071, allocations: 11.03 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2188, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005481/0.2243, allocations: 3.687 MB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003122/0.2275, allocations: 2.148 MB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.2277, allocations: 4 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.228, allocations: 35.8 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.2283, allocations: 79.77 kB / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.2299, allocations: 398.6 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.2302, allocations: 156.7 kB / 0.9846 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.973e-05/0.2302, allocations: 5.562 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.2316, allocations: 399.2 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.2318, allocations: 75.69 kB / 0.9851 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.2318, allocations: 4 kB / 0.9851 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.2333, allocations: 411.4 kB / 0.9855 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.391e-05/0.2334, allocations: 31.89 kB / 0.9855 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.96e-05/0.2335, allocations: 53.64 kB / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.2341, allocations: 207.8 kB / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2341, allocations: 0 / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2342, allocations: 4 kB / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.2342, allocations: 0 / 0.9857 GB, free: 20.61 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.0007544/0.2349, allocations: 467.2 kB / 0.9862 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.235, allocations: 12.02 kB / 0.9862 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.239e-05/0.2351, allocations: 54.55 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.2353, allocations: 27.75 kB / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.2355, allocations: 214.7 kB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.2356, allocations: 16.31 kB / 0.9865 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.2356, allocations: 19.94 kB / 0.9865 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.2361, allocations: 237 kB / 0.9867 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2361, allocations: 3.938 kB / 0.9867 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.2361, allocations: 11.98 kB / 0.9868 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.2362, allocations: 7.953 kB / 0.9868 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006155/0.2368, allocations: 431.5 kB / 0.9872 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.2381, allocations: 1.035 MB / 0.9882 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.2386, allocations: 160.3 kB / 0.9883 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/0.24, allocations: 1.829 MB / 0.9901 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.2401, allocations: 38.56 kB / 0.9902 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.745e-06/0.2401, allocations: 0 / 0.9902 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0004397/0.2405, allocations: 147.6 kB / 0.9903 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.2406, allocations: 59.34 kB / 0.9904 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.2408, allocations: 161 kB / 0.9905 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.2408, allocations: 25.7 kB / 0.9905 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.2409, allocations: 143.8 kB / 0.9907 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.2409, allocations: 55.2 kB / 0.9907 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.241, allocations: 4 kB / 0.9907 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.241, allocations: 326.8 kB / 0.991 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.694e-05/0.2411, allocations: 35.97 kB / 0.9911 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.2413, allocations: 134.2 kB / 0.9912 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.2414, allocations: 59.92 kB / 0.9913 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2415, allocations: 0 / 0.9913 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004498/0.2419, allocations: 210.2 kB / 0.9915 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.242, allocations: 18.02 kB / 0.9915 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.242, allocations: 4 kB / 0.9915 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.242, allocations: 4 kB / 0.9915 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.2424, allocations: 71.84 kB / 0.9916 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.2424, allocations: 4 kB / 0.9916 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.2426, allocations: 27.69 kB / 0.9916 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.2426, allocations: 15.98 kB / 0.9916 GB, free: 13.91 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.0001237/0.2428, allocations: 129.8 kB / 0.9917 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.2428, allocations: 19.84 kB / 0.9917 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.2433, allocations: 167.5 kB / 0.9919 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.2434, allocations: 0 / 0.9919 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2434, allocations: 0 / 0.9919 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2434, allocations: 3.938 kB / 0.9919 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.2437, allocations: 213.5 kB / 0.9921 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2437, allocations: 3.984 kB / 0.9921 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.2439, allocations: 27.98 kB / 0.9921 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.2439, allocations: 3.953 kB / 0.9921 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.244, allocations: 12 kB / 0.9922 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.244, allocations: 0 / 0.9922 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.244, allocations: 0 / 0.9922 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.2443, allocations: 220.5 kB / 0.9924 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.2444, allocations: 112.9 kB / 0.9925 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.2445, allocations: 11.95 kB / 0.9925 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.2448, allocations: 10.52 kB / 0.9925 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.2449, allocations: 11.98 kB / 0.9925 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.2449, allocations: 12 kB / 0.9925 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.356e-05/0.245, allocations: 124.2 kB / 0.9926 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.245, allocations: 0 / 0.9926 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005328/0.2456, allocations: 71.94 kB / 0.9927 GB, free: 12.68 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.0006872/0.2463, allocations: 0.8137 MB / 0.9935 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000317/0.2466, allocations: 119.7 kB / 0.9936 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2466, allocations: 0 / 0.9936 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.322e-05/0.2467, allocations: 43.45 kB / 0.9937 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.2473, allocations: 59.84 kB / 0.9937 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.2496, allocations: 3.26 MB / 0.9969 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.2498, allocations: 0.7208 MB / 0.9976 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003264/0.2501, allocations: 49.69 kB / 0.9977 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.653e-05/0.2502, allocations: 43.42 kB / 0.9977 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of SimCode: time 1.253e-06/0.2502, allocations: 0 / 0.9977 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.2807, allocations: 4.616 MB / 1.002 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.281, allocations: 187.4 kB / 1.002 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/2.904, allocations: 3.938 kB / 1.002 GB, free: 2.715 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)