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.001093/0.001093, allocations: 108 kB / 15.6 MB, free: 132 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.001116/0.001116, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.497/1.497, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.747/1.747, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001419/0.001419, allocations: 73.86 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2366, allocations: 114.5 MB / 0.7834 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006683/0.2433, allocations: 4.43 MB / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002913/0.2462, allocations: 2.656 MB / 0.7904 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.249e-05/0.2464, allocations: 4 kB / 0.7904 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.2468, allocations: 43.67 kB / 0.7904 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.2471, allocations: 103.3 kB / 0.7905 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.2486, allocations: 487.6 kB / 0.791 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.249, allocations: 224 kB / 0.7912 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.031e-05/0.249, allocations: 13.55 kB / 0.7912 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.2501, allocations: 422.9 kB / 0.7916 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.2502, allocations: 87.66 kB / 0.7917 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.2503, allocations: 8 kB / 0.7917 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.2515, allocations: 471.1 kB / 0.7921 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.078e-05/0.2516, allocations: 35.89 kB / 0.7922 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.2517, allocations: 83.66 kB / 0.7923 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006313/0.2523, allocations: 331.1 kB / 0.7926 GB, free: 4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2524, allocations: 4 kB / 0.7926 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2524, allocations: 0 / 0.7926 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.2524, allocations: 0 / 0.7926 GB, free: 3.996 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.00097/0.2534, allocations: 495.3 kB / 0.793 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.2534, allocations: 11.97 kB / 0.7931 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.781e-05/0.2535, allocations: 54.73 kB / 0.7931 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.2537, allocations: 24.73 kB / 0.7931 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.254, allocations: 208.1 kB / 0.7933 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.2541, allocations: 12.7 kB / 0.7933 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.2541, allocations: 20.36 kB / 0.7934 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.2545, allocations: 248.9 kB / 0.7936 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.2546, allocations: 0 / 0.7936 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.2546, allocations: 8 kB / 0.7936 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.2547, allocations: 12 kB / 0.7936 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005407/0.2552, allocations: 431.5 kB / 0.794 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.2563, allocations: 1.004 MB / 0.795 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.2566, allocations: 161 kB / 0.7952 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.515e-05/0.2567, allocations: 56.89 kB / 0.7952 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/0.258, allocations: 1.829 MB / 0.797 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.2581, allocations: 34.56 kB / 0.797 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.2581, allocations: 3.938 kB / 0.797 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003287/0.2584, allocations: 155.7 kB / 0.7972 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.2585, allocations: 51.41 kB / 0.7972 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.2587, allocations: 169.4 kB / 0.7974 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.2587, allocations: 37.69 kB / 0.7974 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.2588, allocations: 143.7 kB / 0.7976 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.2589, allocations: 51.34 kB / 0.7976 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.2589, allocations: 49.61 kB / 0.7977 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.259, allocations: 322.8 kB / 0.798 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.392e-05/0.2591, allocations: 43.97 kB / 0.798 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.2593, allocations: 149.6 kB / 0.7982 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.2595, allocations: 197.5 kB / 0.7984 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2595, allocations: 0 / 0.7984 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003057/0.2598, allocations: 215.9 kB / 0.7986 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2598, allocations: 8 kB / 0.7986 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.2599, allocations: 0 / 0.7986 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2599, allocations: 11.94 kB / 0.7986 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.2601, allocations: 55.91 kB / 0.7986 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.2601, allocations: 4 kB / 0.7986 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.2602, allocations: 27.69 kB / 0.7987 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.2602, allocations: 12.41 kB / 0.7987 GB, free: 13.01 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.0001041/0.2603, allocations: 133.7 kB / 0.7988 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.2604, allocations: 19.81 kB / 0.7988 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.2607, allocations: 158.9 kB / 0.799 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.2607, allocations: 3.938 kB / 0.799 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2607, allocations: 0 / 0.799 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2607, allocations: 7.938 kB / 0.799 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.261, allocations: 213.5 kB / 0.7992 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.261, allocations: 0 / 0.7992 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.188e-05/0.2611, allocations: 23.98 kB / 0.7992 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2611, allocations: 4 kB / 0.7992 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.2611, allocations: 4 kB / 0.7992 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2611, allocations: 3.938 kB / 0.7992 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.2611, allocations: 7.969 kB / 0.7992 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.2614, allocations: 219.4 kB / 0.7994 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.2615, allocations: 104.9 kB / 0.7995 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.2615, allocations: 4 kB / 0.7995 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.2617, allocations: 15.92 kB / 0.7996 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.2617, allocations: 11.98 kB / 0.7996 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.2617, allocations: 12 kB / 0.7996 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.642e-05/0.2618, allocations: 118.1 kB / 0.7997 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2618, allocations: 0 / 0.7997 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003869/0.2622, allocations: 79.89 kB / 0.7998 GB, free: 11.79 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.0007825/0.263, allocations: 0.8288 MB / 0.8006 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.2633, allocations: 124.5 kB / 0.8007 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2633, allocations: 192 / 0.8007 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.2634, allocations: 47.92 kB / 0.8007 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.2638, allocations: 56.81 kB / 0.8008 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.2659, allocations: 2.031 MB / 0.8028 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.2662, allocations: 0.7089 MB / 0.8035 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.2664, allocations: 49.73 kB / 0.8035 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.019e-05/0.2665, allocations: 47.42 kB / 0.8036 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of SimCode: time 5e-07/0.2665, allocations: 0 / 0.8036 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.2901, allocations: 5.081 MB / 0.8085 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.686/7.976, allocations: 10.84 kB / 0.8085 GB, free: 2.711 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)