Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",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.001137/0.001137, allocations: 109.7 kB / 16.27 MB, free: 6.004 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.001256/0.001257, allocations: 186.1 kB / 17.2 MB, free: 5.617 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.272/1.272, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7396/0.7396, allocations: 122.8 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 59.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3129, allocations: 77.94 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01252/0.3255, allocations: 12.95 MB / 0.5799 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.3277, allocations: 2.672 MB / 0.5825 GB, free: 22.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.968e-05/0.3278, allocations: 1.5 kB / 0.5825 GB, free: 22.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.328, allocations: 46.58 kB / 0.5826 GB, free: 22.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.3283, allocations: 94.58 kB / 0.5827 GB, free: 21.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009009/0.3292, allocations: 0.4936 MB / 0.5832 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.3294, allocations: 230 kB / 0.5834 GB, free: 21.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.3295, allocations: 16.42 kB / 0.5834 GB, free: 21.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008348/0.3378, allocations: 3.583 MB / 0.5869 GB, free: 19.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.338, allocations: 92.72 kB / 0.587 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.338, allocations: 13.22 kB / 0.587 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.3405, allocations: 1.065 MB / 0.588 GB, free: 18.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.3406, allocations: 38.17 kB / 0.5881 GB, free: 18.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.13e-05/0.3407, allocations: 88.81 kB / 0.5882 GB, free: 18.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006074/0.3413, allocations: 358.9 kB / 0.5885 GB, free: 18.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3413, allocations: 0 / 0.5885 GB, free: 18.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3414, allocations: 0 / 0.5885 GB, free: 18.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.3414, allocations: 3.984 kB / 0.5885 GB, free: 18.27 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.000568/0.3419, allocations: 0.4988 MB / 0.589 GB, free: 17.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.342, allocations: 9.812 kB / 0.589 GB, free: 17.8 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.342, allocations: 49.45 kB / 0.5891 GB, free: 17.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.3422, allocations: 29.38 kB / 0.5891 GB, free: 17.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3424, allocations: 225.5 kB / 0.5893 GB, free: 17.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3424, allocations: 10.83 kB / 0.5893 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.3424, allocations: 17.94 kB / 0.5893 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.3427, allocations: 246.8 kB / 0.5896 GB, free: 17.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3427, allocations: 0 / 0.5896 GB, free: 17.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.3428, allocations: 6.812 kB / 0.5896 GB, free: 17.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.3428, allocations: 8.938 kB / 0.5896 GB, free: 17.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/0.3432, allocations: 433.3 kB / 0.59 GB, free: 17.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008451/0.3441, allocations: 0.966 MB / 0.5909 GB, free: 16.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.3443, allocations: 154.9 kB / 0.5911 GB, free: 16.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.259e-05/0.3444, allocations: 58.36 kB / 0.5911 GB, free: 16.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009066/0.3453, allocations: 1.846 MB / 0.5929 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.3454, allocations: 41.86 kB / 0.593 GB, free: 13.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.3454, allocations: 0 / 0.593 GB, free: 13.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003071/0.3457, allocations: 139.6 kB / 0.5931 GB, free: 13.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.3457, allocations: 52.62 kB / 0.5932 GB, free: 13.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.3458, allocations: 174.8 kB / 0.5933 GB, free: 13.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3459, allocations: 28.23 kB / 0.5934 GB, free: 13.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.3459, allocations: 142.5 kB / 0.5935 GB, free: 13.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.3459, allocations: 58.98 kB / 0.5935 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.346, allocations: 55.8 kB / 0.5936 GB, free: 13.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.3461, allocations: 322.7 kB / 0.5939 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.3461, allocations: 42.05 kB / 0.5939 GB, free: 13.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.496e-05/0.3462, allocations: 145.4 kB / 0.5941 GB, free: 12.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.3464, allocations: 194.1 kB / 0.5943 GB, free: 12.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3464, allocations: 1.312 kB / 0.5943 GB, free: 12.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002841/0.3467, allocations: 219.2 kB / 0.5945 GB, free: 12.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3468, allocations: 6.438 kB / 0.5945 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3468, allocations: 7.766 kB / 0.5945 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3468, allocations: 13.44 kB / 0.5945 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.347, allocations: 57.02 kB / 0.5946 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.347, allocations: 6.188 kB / 0.5946 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.955e-05/0.3471, allocations: 23.59 kB / 0.5946 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.3471, allocations: 10.22 kB / 0.5946 GB, free: 12.51 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 7.657e-05/0.3472, allocations: 144.5 kB / 0.5947 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.3472, allocations: 15.75 kB / 0.5948 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.3475, allocations: 151.2 kB / 0.5949 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.3475, allocations: 6 kB / 0.5949 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3475, allocations: 1.031 kB / 0.5949 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3475, allocations: 3.984 kB / 0.5949 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.3477, allocations: 214.4 kB / 0.5951 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3477, allocations: 0 / 0.5951 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.463e-05/0.3478, allocations: 31.33 kB / 0.5951 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3478, allocations: 0 / 0.5951 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3479, allocations: 6.812 kB / 0.5951 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3479, allocations: 3.938 kB / 0.5952 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3479, allocations: 1.438 kB / 0.5952 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.3481, allocations: 219.1 kB / 0.5954 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.3481, allocations: 112.9 kB / 0.5955 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.3482, allocations: 1.312 kB / 0.5955 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.3484, allocations: 24.52 kB / 0.5955 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.3484, allocations: 9.297 kB / 0.5955 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.3484, allocations: 14.42 kB / 0.5955 GB, free: 11.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.585e-05/0.3485, allocations: 120.8 kB / 0.5956 GB, free: 11.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3485, allocations: 0 / 0.5956 GB, free: 11.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.3489, allocations: 70.41 kB / 0.5957 GB, free: 11.59 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.0005332/0.3494, allocations: 0.8452 MB / 0.5965 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.3496, allocations: 129.9 kB / 0.5966 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3497, allocations: 1.188 kB / 0.5966 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.073e-05/0.3497, allocations: 46.66 kB / 0.5967 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.3502, allocations: 61.02 kB / 0.5968 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.3518, allocations: 2.024 MB / 0.5987 GB, free: 8.953 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.3519, allocations: 0.7158 MB / 0.5994 GB, free: 8.234 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00017/0.3521, allocations: 50.33 kB / 0.5995 GB, free: 8.215 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.3522, allocations: 52.03 kB / 0.5995 GB, free: 8.18 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3522, allocations: 0 / 0.5995 GB, free: 8.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.3709, allocations: 5.422 MB / 0.6048 GB, free: 3.496 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.405, allocations: 4 kB / 0.6048 GB, free: 3.492 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT_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_Specialized_Water_Examples_WaterProperties_pT.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)