Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",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.0006699/0.0006699, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007291/0.000729, allocations: 171.7 kB / 16.58 MB, free: 6.414 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.179/1.179, allocations: 223.2 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5954/0.5954, allocations: 113.7 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002729, allocations: 8 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.004384/0.1209, allocations: 4.189 MB / 0.561 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.1232, allocations: 2.494 MB / 0.5634 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.981e-05/0.1233, allocations: 0 / 0.5634 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.1235, allocations: 39.73 kB / 0.5634 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1238, allocations: 87.48 kB / 0.5635 GB, free: 4.832 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009395/0.1247, allocations: 399.7 kB / 0.5639 GB, free: 4.445 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.125, allocations: 267.8 kB / 0.5642 GB, free: 4.184 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.013e-05/0.125, allocations: 13.56 kB / 0.5642 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.1252, allocations: 115.6 kB / 0.5643 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.1253, allocations: 87.66 kB / 0.5644 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1253, allocations: 8 kB / 0.5644 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005379/0.1259, allocations: 255.4 kB / 0.5646 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.917e-05/0.126, allocations: 43.83 kB / 0.5647 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.126, allocations: 53.64 kB / 0.5647 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.1263, allocations: 227.7 kB / 0.5649 GB, free: 3.387 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1263, allocations: 0 / 0.5649 GB, free: 3.387 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1263, allocations: 4 kB / 0.5649 GB, free: 3.383 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1263, allocations: 0 / 0.5649 GB, free: 3.383 MB / 430.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.0005439/0.1269, allocations: 467.1 kB / 0.5654 GB, free: 2.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1269, allocations: 12.03 kB / 0.5654 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.127, allocations: 54.53 kB / 0.5654 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.1271, allocations: 15.91 kB / 0.5655 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.1273, allocations: 214.7 kB / 0.5657 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1273, allocations: 16.28 kB / 0.5657 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.1273, allocations: 16 kB / 0.5657 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.1277, allocations: 240.8 kB / 0.5659 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1277, allocations: 0 / 0.5659 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.1277, allocations: 8 kB / 0.5659 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.1277, allocations: 8 kB / 0.5659 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004116/0.1282, allocations: 435.3 kB / 0.5664 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009029/0.1291, allocations: 0.9488 MB / 0.5673 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.1293, allocations: 164.4 kB / 0.5674 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.395e-05/0.1294, allocations: 60.88 kB / 0.5675 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.1305, allocations: 1.825 MB / 0.5693 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1305, allocations: 38.56 kB / 0.5693 GB, free: 14.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.1305, allocations: 0 / 0.5693 GB, free: 14.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002674/0.1308, allocations: 145.3 kB / 0.5695 GB, free: 14.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.1308, allocations: 51.41 kB / 0.5695 GB, free: 14.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.131, allocations: 181.5 kB / 0.5697 GB, free: 13.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.131, allocations: 25.7 kB / 0.5697 GB, free: 13.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.1311, allocations: 143.8 kB / 0.5698 GB, free: 13.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.1311, allocations: 59.28 kB / 0.5699 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.1311, allocations: 4 kB / 0.5699 GB, free: 13.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.1312, allocations: 322.8 kB / 0.5702 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.884e-05/0.1313, allocations: 31.98 kB / 0.5702 GB, free: 13.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1314, allocations: 147.5 kB / 0.5704 GB, free: 13.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.634e-05/0.1315, allocations: 48 kB / 0.5704 GB, free: 13.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1315, allocations: 0 / 0.5704 GB, free: 13.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002697/0.1318, allocations: 217.2 kB / 0.5706 GB, free: 12.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1318, allocations: 7.984 kB / 0.5706 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1318, allocations: 4 kB / 0.5706 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1318, allocations: 8 kB / 0.5707 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.132, allocations: 51.92 kB / 0.5707 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.132, allocations: 4 kB / 0.5707 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.1321, allocations: 31.64 kB / 0.5707 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.1321, allocations: 24.23 kB / 0.5708 GB, free: 12.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.867e-05/0.1322, allocations: 133.5 kB / 0.5709 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.1323, allocations: 23.75 kB / 0.5709 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.1325, allocations: 143.9 kB / 0.571 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1325, allocations: 0 / 0.571 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.1326, allocations: 0 / 0.571 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1326, allocations: 7.984 kB / 0.5711 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.1328, allocations: 225.4 kB / 0.5713 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1328, allocations: 0 / 0.5713 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.132e-05/0.1329, allocations: 31.98 kB / 0.5713 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1329, allocations: 3.938 kB / 0.5713 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1329, allocations: 0 / 0.5713 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1329, allocations: 0 / 0.5713 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1329, allocations: 7.984 kB / 0.5713 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.1331, allocations: 225 kB / 0.5715 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-05/0.1332, allocations: 104.9 kB / 0.5716 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.1332, allocations: 0 / 0.5716 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.1334, allocations: 23.98 kB / 0.5716 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.1334, allocations: 11.98 kB / 0.5717 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1335, allocations: 11.98 kB / 0.5717 GB, free: 11.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.177e-05/0.1336, allocations: 121.8 kB / 0.5718 GB, free: 11.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1336, allocations: 0 / 0.5718 GB, free: 11.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003504/0.1339, allocations: 87.81 kB / 0.5719 GB, free: 11.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005373/0.1345, allocations: 0.8116 MB / 0.5727 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1347, allocations: 122.8 kB / 0.5728 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.1347, allocations: 0 / 0.5728 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.987e-05/0.1347, allocations: 51.84 kB / 0.5728 GB, free: 10.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.1351, allocations: 47.97 kB / 0.5729 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.1364, allocations: 1.018 MB / 0.5739 GB, free: 9.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.1366, allocations: 0.7133 MB / 0.5746 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.1367, allocations: 45.91 kB / 0.5746 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.1368, allocations: 43.42 kB / 0.5747 GB, free: 8.516 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1368, allocations: 0 / 0.5747 GB, free: 8.516 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.1506, allocations: 4.761 MB / 0.5793 GB, free: 3.918 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.1508, allocations: 166.7 kB / 0.5795 GB, free: 3.684 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/1.653, allocations: 4 kB / 0.5795 GB, free: 3.68 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: