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.001171/0.001171, 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.001139/0.001139, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.218/1.218, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 294.4 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8842/0.8842, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 94.33 kB / 0.5953 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1321, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005585/0.1377, allocations: 4.429 MB / 0.6846 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.1403, allocations: 2.691 MB / 0.6872 GB, free: 9.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.485e-05/0.1404, allocations: 0 / 0.6872 GB, free: 9.469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.1406, allocations: 47.67 kB / 0.6873 GB, free: 9.422 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.1409, allocations: 95.36 kB / 0.6874 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.142, allocations: 489.1 kB / 0.6878 GB, free: 8.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.1422, allocations: 239.9 kB / 0.688 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.1423, allocations: 13.55 kB / 0.6881 GB, free: 8.605 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008374/0.1431, allocations: 422.3 kB / 0.6885 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1432, allocations: 87.66 kB / 0.6885 GB, free: 8.109 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.1433, allocations: 12 kB / 0.6886 GB, free: 8.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008441/0.1441, allocations: 495 kB / 0.689 GB, free: 7.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.1442, allocations: 35.89 kB / 0.6891 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.746e-05/0.1443, allocations: 75.66 kB / 0.6891 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004874/0.1448, allocations: 351.1 kB / 0.6895 GB, free: 7.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1448, allocations: 0 / 0.6895 GB, free: 7.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1448, allocations: 0 / 0.6895 GB, free: 7.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1448, allocations: 0 / 0.6895 GB, free: 7.16 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.0006117/0.1454, allocations: 0.5031 MB / 0.69 GB, free: 6.609 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.1455, allocations: 8.031 kB / 0.69 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.1455, allocations: 50.73 kB / 0.69 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.1457, allocations: 24.75 kB / 0.69 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.1458, allocations: 212 kB / 0.6902 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1459, allocations: 12.7 kB / 0.6903 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1459, allocations: 16.38 kB / 0.6903 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.1462, allocations: 253.5 kB / 0.6905 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1462, allocations: 0 / 0.6905 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.1463, allocations: 12 kB / 0.6905 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.1463, allocations: 4 kB / 0.6905 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.1467, allocations: 431.5 kB / 0.6909 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009035/0.1476, allocations: 0.9999 MB / 0.6919 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.1479, allocations: 163.6 kB / 0.6921 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.255e-05/0.148, allocations: 70.19 kB / 0.6921 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/0.1492, allocations: 1.825 MB / 0.6939 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.1492, allocations: 34.56 kB / 0.694 GB, free: 1.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.1492, allocations: 0 / 0.694 GB, free: 1.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003108/0.1496, allocations: 147.3 kB / 0.6941 GB, free: 1.832 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.1496, allocations: 55.41 kB / 0.6942 GB, free: 1.766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.1497, allocations: 174.7 kB / 0.6943 GB, free: 1.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1498, allocations: 33.7 kB / 0.6943 GB, free: 1.543 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.1498, allocations: 139.8 kB / 0.6945 GB, free: 1.402 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.1499, allocations: 47.3 kB / 0.6945 GB, free: 1.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.15, allocations: 53.61 kB / 0.6946 GB, free: 1.297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.1501, allocations: 326.8 kB / 0.6949 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.55e-05/0.1501, allocations: 35.98 kB / 0.6949 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.1503, allocations: 137.6 kB / 0.6951 GB, free: 0.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.1505, allocations: 199.5 kB / 0.6952 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1505, allocations: 4 kB / 0.6953 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000297/0.1508, allocations: 221 kB / 0.6955 GB, free: 288 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1508, allocations: 5.719 kB / 0.6955 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1508, allocations: 4.469 kB / 0.6955 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1509, allocations: 11.94 kB / 0.6955 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.151, allocations: 59.86 kB / 0.6955 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.151, allocations: 4 kB / 0.6955 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.1511, allocations: 27.69 kB / 0.6956 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.1512, allocations: 19.98 kB / 0.6956 GB, free: 156 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 9.106e-05/0.1513, allocations: 129.7 kB / 0.6957 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.1513, allocations: 11.91 kB / 0.6957 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.1516, allocations: 162.8 kB / 0.6959 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.1516, allocations: 7.938 kB / 0.6959 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1516, allocations: 0 / 0.6959 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1516, allocations: 7.984 kB / 0.6959 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.1519, allocations: 213.5 kB / 0.6961 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1519, allocations: 0 / 0.6961 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.503e-05/0.152, allocations: 23.98 kB / 0.6961 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.152, allocations: 4 kB / 0.6961 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.152, allocations: 0 / 0.6961 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.152, allocations: 3.938 kB / 0.6961 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.152, allocations: 3.938 kB / 0.6961 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.1522, allocations: 229 kB / 0.6964 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.327e-05/0.1523, allocations: 108.8 kB / 0.6965 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.1523, allocations: 0 / 0.6965 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.1525, allocations: 19.92 kB / 0.6965 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.1526, allocations: 7.984 kB / 0.6965 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1526, allocations: 12 kB / 0.6965 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.352e-05/0.1527, allocations: 125.1 kB / 0.6966 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1527, allocations: 4 kB / 0.6966 GB, free: 15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003478/0.153, allocations: 68 kB / 0.6967 GB, free: 14.94 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.0005992/0.1536, allocations: 0.8392 MB / 0.6975 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.1539, allocations: 119.8 kB / 0.6976 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1539, allocations: 4 kB / 0.6976 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.256e-05/0.154, allocations: 39.92 kB / 0.6977 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.1544, allocations: 60.78 kB / 0.6977 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.1562, allocations: 2.046 MB / 0.6997 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.1564, allocations: 0.7207 MB / 0.7004 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001962/0.1566, allocations: 45.69 kB / 0.7005 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/0.1567, allocations: 47.42 kB / 0.7005 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1567, allocations: 0 / 0.7005 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.024/2.181, allocations: 5.136 MB / 0.7055 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/13.87, allocations: 7.438 kB / 0.7055 GB, free: 5.797 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)