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.001431/0.001431, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 187.1 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.85/1.85, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001421/0.001421, allocations: 71.92 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2429, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006266/0.2492, allocations: 4.414 MB / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002806/0.252, allocations: 2.671 MB / 0.7905 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.099e-05/0.2521, allocations: 0 / 0.7905 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.2525, allocations: 51.66 kB / 0.7906 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.2529, allocations: 87.44 kB / 0.7907 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.2543, allocations: 485.2 kB / 0.7911 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000356/0.2546, allocations: 235.9 kB / 0.7914 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.086e-05/0.2547, allocations: 13.55 kB / 0.7914 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.2558, allocations: 411 kB / 0.7918 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.2561, allocations: 95.64 kB / 0.7919 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.2561, allocations: 4 kB / 0.7919 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.2573, allocations: 483.1 kB / 0.7923 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.559e-05/0.2574, allocations: 35.89 kB / 0.7924 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.2575, allocations: 75.59 kB / 0.7924 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008382/0.2584, allocations: 335.2 kB / 0.7927 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2584, allocations: 0 / 0.7927 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2584, allocations: 0 / 0.7927 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.2584, allocations: 0 / 0.7927 GB, free: 3.906 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.0009165/0.2593, allocations: 0.4915 MB / 0.7932 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.2594, allocations: 12.03 kB / 0.7932 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.13e-05/0.2595, allocations: 54.73 kB / 0.7933 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.2597, allocations: 24.73 kB / 0.7933 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.2601, allocations: 208.1 kB / 0.7935 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.2601, allocations: 12.7 kB / 0.7935 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.2601, allocations: 16.36 kB / 0.7935 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.2606, allocations: 249 kB / 0.7938 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.2606, allocations: 3.938 kB / 0.7938 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.2606, allocations: 8 kB / 0.7938 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/0.2607, allocations: 7.984 kB / 0.7938 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.2612, allocations: 427.5 kB / 0.7942 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.2625, allocations: 1.008 MB / 0.7952 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.2628, allocations: 168.5 kB / 0.7953 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.2629, allocations: 64.88 kB / 0.7954 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001909/0.2649, allocations: 1.821 MB / 0.7972 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.2649, allocations: 38.56 kB / 0.7972 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.2649, allocations: 0 / 0.7972 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0004292/0.2654, allocations: 148.6 kB / 0.7974 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/0.2655, allocations: 59.34 kB / 0.7974 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.2657, allocations: 173.4 kB / 0.7976 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.2657, allocations: 25.7 kB / 0.7976 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.2659, allocations: 147.7 kB / 0.7978 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.2659, allocations: 51.34 kB / 0.7978 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.266, allocations: 57.59 kB / 0.7979 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2662, allocations: 318.8 kB / 0.7982 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.251e-05/0.2663, allocations: 39.98 kB / 0.7982 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.2665, allocations: 149.6 kB / 0.7983 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.2668, allocations: 193.5 kB / 0.7985 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.2668, allocations: 0 / 0.7985 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004369/0.2673, allocations: 209.2 kB / 0.7987 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.2673, allocations: 8 kB / 0.7987 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.2673, allocations: 4 kB / 0.7987 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/0.2674, allocations: 7.938 kB / 0.7987 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.2676, allocations: 52.38 kB / 0.7988 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.195e-05/0.2676, allocations: 15.94 kB / 0.7988 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.2678, allocations: 27.69 kB / 0.7988 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.2678, allocations: 15.94 kB / 0.7988 GB, free: 12.9 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.268, allocations: 137.7 kB / 0.799 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.268, allocations: 15.81 kB / 0.799 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.2684, allocations: 158.1 kB / 0.7991 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.2684, allocations: 11.88 kB / 0.7992 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2685, allocations: 0 / 0.7992 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2685, allocations: 0 / 0.7992 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.2688, allocations: 217.5 kB / 0.7994 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2688, allocations: 0 / 0.7994 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.2689, allocations: 27.94 kB / 0.7994 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-06/0.2689, allocations: 3.984 kB / 0.7994 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.2689, allocations: 0 / 0.7994 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.2689, allocations: 7.938 kB / 0.7994 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.269, allocations: 0 / 0.7994 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.2692, allocations: 215.5 kB / 0.7996 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.2694, allocations: 108.9 kB / 0.7997 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.2694, allocations: 4 kB / 0.7997 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.2696, allocations: 15.92 kB / 0.7997 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.2696, allocations: 19.92 kB / 0.7998 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.2697, allocations: 4 kB / 0.7998 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001188/0.2698, allocations: 122.1 kB / 0.7999 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2698, allocations: 0 / 0.7999 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004722/0.2703, allocations: 83.83 kB / 0.8 GB, free: 11.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008695/0.2712, allocations: 0.8216 MB / 0.8008 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.2714, allocations: 122.5 kB / 0.8009 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2715, allocations: 0 / 0.8009 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.416e-05/0.2715, allocations: 43.92 kB / 0.8009 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.272, allocations: 51.89 kB / 0.801 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.2747, allocations: 2.029 MB / 0.8029 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.2751, allocations: 0.7168 MB / 0.8036 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001915/0.2753, allocations: 49.67 kB / 0.8037 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.2754, allocations: 47.42 kB / 0.8037 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.2754, allocations: 0 / 0.8037 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.3029, allocations: 5.077 MB / 0.8087 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.358, allocations: 3.859 kB / 0.8087 GB, free: 2.629 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)