Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_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.001058/0.001058, allocations: 98.58 kB / 16.26 MB, free: 5.93 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.001029/0.001029, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7631/0.7631, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 55.91 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2954, allocations: 77.92 MB / 0.5673 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.005394/0.3009, allocations: 4.428 MB / 0.5716 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.3033, allocations: 2.685 MB / 0.5742 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.3034, allocations: 1.469 kB / 0.5742 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.3036, allocations: 49.98 kB / 0.5743 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.3039, allocations: 94.06 kB / 0.5743 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009399/0.3048, allocations: 492.5 kB / 0.5748 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.305, allocations: 235 kB / 0.575 GB, free: 26.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.3051, allocations: 11.2 kB / 0.5751 GB, free: 26.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008643/0.3059, allocations: 419.2 kB / 0.5755 GB, free: 26.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.3061, allocations: 93.56 kB / 0.5755 GB, free: 26.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.3061, allocations: 7.406 kB / 0.5755 GB, free: 26.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008697/0.307, allocations: 497 kB / 0.576 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.307, allocations: 37.73 kB / 0.5761 GB, free: 26.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.752e-05/0.3071, allocations: 81.2 kB / 0.5761 GB, free: 26.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005298/0.3077, allocations: 345.7 kB / 0.5765 GB, free: 26.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3077, allocations: 5.031 kB / 0.5765 GB, free: 26.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3077, allocations: 0 / 0.5765 GB, free: 26.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3077, allocations: 0 / 0.5765 GB, free: 26.46 MB / 446.1 MB 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.0006091/0.3083, allocations: 0.4946 MB / 0.577 GB, free: 26.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3084, allocations: 12.06 kB / 0.577 GB, free: 26.01 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.633e-05/0.3084, allocations: 57.44 kB / 0.577 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.3086, allocations: 22.78 kB / 0.577 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.3087, allocations: 207.2 kB / 0.5772 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3088, allocations: 11.92 kB / 0.5773 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.3088, allocations: 17.75 kB / 0.5773 GB, free: 25.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.3091, allocations: 250.2 kB / 0.5775 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3091, allocations: 1.438 kB / 0.5775 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.3092, allocations: 8.469 kB / 0.5775 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.3092, allocations: 10.38 kB / 0.5775 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000531/0.3097, allocations: 429.3 kB / 0.5779 GB, free: 25.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008764/0.3106, allocations: 1.005 MB / 0.5789 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.3109, allocations: 158.9 kB / 0.5791 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.471e-05/0.311, allocations: 61.55 kB / 0.5791 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008549/0.3119, allocations: 1.827 MB / 0.5809 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.3119, allocations: 39.72 kB / 0.5809 GB, free: 22.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.193e-06/0.3119, allocations: 1.188 kB / 0.581 GB, free: 22.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003149/0.3122, allocations: 144.6 kB / 0.5811 GB, free: 22.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.908e-05/0.3122, allocations: 53.69 kB / 0.5811 GB, free: 22.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3124, allocations: 167.7 kB / 0.5813 GB, free: 22.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3124, allocations: 30.95 kB / 0.5813 GB, free: 22.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.3124, allocations: 143.1 kB / 0.5815 GB, free: 22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.3125, allocations: 58.73 kB / 0.5815 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.3125, allocations: 49.81 kB / 0.5816 GB, free: 21.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.121e-05/0.3126, allocations: 328.7 kB / 0.5819 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.3127, allocations: 39.2 kB / 0.5819 GB, free: 21.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.309e-05/0.3128, allocations: 142.3 kB / 0.5821 GB, free: 21.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.3129, allocations: 197.2 kB / 0.5822 GB, free: 21.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.313, allocations: 1.375 kB / 0.5822 GB, free: 21.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002913/0.3132, allocations: 222.2 kB / 0.5825 GB, free: 21.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3133, allocations: 7.312 kB / 0.5825 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3133, allocations: 3.031 kB / 0.5825 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3133, allocations: 11.62 kB / 0.5825 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.3135, allocations: 53.31 kB / 0.5825 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3135, allocations: 6.297 kB / 0.5825 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.3136, allocations: 29.8 kB / 0.5826 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.3136, allocations: 15.61 kB / 0.5826 GB, free: 21.13 MB / 446.1 MB 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 8.444e-05/0.3137, allocations: 128.8 kB / 0.5827 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.3138, allocations: 24.53 kB / 0.5827 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.314, allocations: 160.5 kB / 0.5829 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.3141, allocations: 5.312 kB / 0.5829 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3141, allocations: 1.984 kB / 0.5829 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.3141, allocations: 0.5625 kB / 0.5829 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.3143, allocations: 215.5 kB / 0.5831 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3143, allocations: 1.375 kB / 0.5831 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-05/0.3144, allocations: 25.34 kB / 0.5831 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3144, allocations: 0.7031 kB / 0.5831 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.3144, allocations: 11.48 kB / 0.5831 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3144, allocations: 3.938 kB / 0.5831 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3144, allocations: 3.938 kB / 0.5831 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.3146, allocations: 217.3 kB / 0.5833 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.3147, allocations: 105.6 kB / 0.5834 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.3147, allocations: 6.531 kB / 0.5834 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.3149, allocations: 24.08 kB / 0.5835 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.315, allocations: 9.25 kB / 0.5835 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.315, allocations: 11.47 kB / 0.5835 GB, free: 20.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.343e-05/0.315, allocations: 121.9 kB / 0.5836 GB, free: 20.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.315, allocations: 0 / 0.5836 GB, free: 20.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.3154, allocations: 79.81 kB / 0.5837 GB, free: 20.28 MB / 446.1 MB 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.0005148/0.3159, allocations: 0.823 MB / 0.5845 GB, free: 19.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.3162, allocations: 121.4 kB / 0.5846 GB, free: 19.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3162, allocations: 1.5 kB / 0.5846 GB, free: 19.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.271e-05/0.3163, allocations: 51.75 kB / 0.5847 GB, free: 19.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.3167, allocations: 58.83 kB / 0.5847 GB, free: 19.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.3184, allocations: 2.042 MB / 0.5867 GB, free: 17.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.3186, allocations: 0.7139 MB / 0.5874 GB, free: 17.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.3188, allocations: 53.58 kB / 0.5875 GB, free: 17.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.3188, allocations: 44.75 kB / 0.5875 GB, free: 17.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3188, allocations: 0 / 0.5875 GB, free: 17.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.3385, allocations: 5.119 MB / 0.5925 GB, free: 14.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.097/7.436, allocations: 5.047 kB / 0.5925 GB, free: 14.48 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)