Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_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.00165/0.00165, allocations: 108 kB / 15.61 MB, free: 152 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.003161/0.003161, allocations: 194.1 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.681/2.681, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004329/0.004329, allocations: 283 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.879/1.879, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002222, allocations: 104.2 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2049, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.007499/0.2125, allocations: 4.424 MB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003485/0.216, allocations: 2.683 MB / 0.6872 GB, free: 9.461 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.2162, allocations: 0 / 0.6872 GB, free: 9.461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.2167, allocations: 47.67 kB / 0.6873 GB, free: 9.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.2171, allocations: 99.36 kB / 0.6874 GB, free: 9.316 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.2187, allocations: 494.2 kB / 0.6878 GB, free: 8.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.2191, allocations: 231.9 kB / 0.688 GB, free: 8.609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.134e-05/0.2192, allocations: 13.56 kB / 0.6881 GB, free: 8.598 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.2203, allocations: 423 kB / 0.6885 GB, free: 8.184 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.2205, allocations: 87.66 kB / 0.6885 GB, free: 8.098 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.2206, allocations: 8 kB / 0.6886 GB, free: 8.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.2217, allocations: 491.1 kB / 0.689 GB, free: 7.609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.454e-05/0.2218, allocations: 39.89 kB / 0.6891 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.2219, allocations: 79.64 kB / 0.6891 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008819/0.2228, allocations: 343.1 kB / 0.6895 GB, free: 7.156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2228, allocations: 4 kB / 0.6895 GB, free: 7.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2228, allocations: 0 / 0.6895 GB, free: 7.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.2228, allocations: 4 kB / 0.6895 GB, free: 7.148 MB / 494.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.001119/0.224, allocations: 0.5007 MB / 0.69 GB, free: 6.602 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.224, allocations: 8.031 kB / 0.69 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.525e-05/0.2241, allocations: 54.73 kB / 0.69 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.2243, allocations: 24.75 kB / 0.69 GB, free: 6.508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.2246, allocations: 212 kB / 0.6902 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.2246, allocations: 16.7 kB / 0.6903 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.2246, allocations: 12.38 kB / 0.6903 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.2251, allocations: 253.5 kB / 0.6905 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2251, allocations: 0 / 0.6905 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.2251, allocations: 19.94 kB / 0.6905 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.2252, allocations: 4 kB / 0.6905 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000617/0.2258, allocations: 427.5 kB / 0.6909 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.2271, allocations: 0.9999 MB / 0.6919 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.2275, allocations: 159.7 kB / 0.6921 GB, free: 4.266 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.2276, allocations: 58.2 kB / 0.6921 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/0.2293, allocations: 1.837 MB / 0.6939 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.2293, allocations: 30.56 kB / 0.694 GB, free: 1.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.2293, allocations: 0 / 0.694 GB, free: 1.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003656/0.2297, allocations: 151 kB / 0.6941 GB, free: 1.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.2298, allocations: 51.41 kB / 0.6941 GB, free: 1.758 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.23, allocations: 183.9 kB / 0.6943 GB, free: 1.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.23, allocations: 29.7 kB / 0.6944 GB, free: 1.531 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.722e-05/0.2301, allocations: 135.8 kB / 0.6945 GB, free: 1.395 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.2302, allocations: 59.27 kB / 0.6945 GB, free: 1.336 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.253e-05/0.2303, allocations: 49.61 kB / 0.6946 GB, free: 1.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2304, allocations: 326.8 kB / 0.6949 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.2305, allocations: 35.98 kB / 0.6949 GB, free: 0.918 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.2306, allocations: 141.6 kB / 0.6951 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.2309, allocations: 195.4 kB / 0.6953 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2309, allocations: 0 / 0.6953 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003634/0.2313, allocations: 213.1 kB / 0.6955 GB, free: 284 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2313, allocations: 8 kB / 0.6955 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.2313, allocations: 4 kB / 0.6955 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.2314, allocations: 7.938 kB / 0.6955 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.2316, allocations: 59.84 kB / 0.6955 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.2316, allocations: 4.469 kB / 0.6955 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.2317, allocations: 35.69 kB / 0.6956 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.2317, allocations: 15.94 kB / 0.6956 GB, free: 148 kB / 494.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 0.0001203/0.2319, allocations: 129.8 kB / 0.6957 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.232, allocations: 20.08 kB / 0.6957 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.2323, allocations: 160.9 kB / 0.6959 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.2323, allocations: 7.938 kB / 0.6959 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2323, allocations: 0 / 0.6959 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.2323, allocations: 0 / 0.6959 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.2326, allocations: 221.5 kB / 0.6961 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2326, allocations: 0 / 0.6961 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.324e-05/0.2327, allocations: 27.92 kB / 0.6961 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2327, allocations: 0 / 0.6961 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2328, allocations: 4 kB / 0.6961 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.2328, allocations: 11.92 kB / 0.6961 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2328, allocations: 0 / 0.6961 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.2331, allocations: 215.3 kB / 0.6963 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.2332, allocations: 112.8 kB / 0.6965 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.2332, allocations: 4 kB / 0.6965 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.2334, allocations: 19.92 kB / 0.6965 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.2335, allocations: 11.98 kB / 0.6965 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.2335, allocations: 8 kB / 0.6965 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001093/0.2336, allocations: 120 kB / 0.6966 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2336, allocations: 0 / 0.6966 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004474/0.2341, allocations: 71.98 kB / 0.6967 GB, free: 14.92 MB / 0.4981 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.001081/0.2352, allocations: 0.8388 MB / 0.6975 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003125/0.2355, allocations: 124.4 kB / 0.6976 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.2355, allocations: 0 / 0.6976 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.548e-05/0.2356, allocations: 53.41 kB / 0.6977 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.2361, allocations: 47.91 kB / 0.6977 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.2389, allocations: 2.044 MB / 0.6997 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.2393, allocations: 0.7206 MB / 0.7004 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002326/0.2395, allocations: 53.61 kB / 0.7005 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/0.2396, allocations: 43.42 kB / 0.7005 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.2396, allocations: 0 / 0.7005 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.268, allocations: 5.132 MB / 0.7055 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.68, allocations: 13.73 kB / 0.7055 GB, free: 5.785 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)