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.0009332/0.0009333, allocations: 99.05 kB / 16.02 MB, free: 80 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.0008697/0.00087, allocations: 183 kB / 16.92 MB, free: 6.773 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.697/0.697, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 11.12 kB / 495.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 77.53 MB / 0.56 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.004754/0.1388, allocations: 4.362 MB / 0.5643 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.1415, allocations: 2.672 MB / 0.5669 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.1416, allocations: 3.938 kB / 0.5669 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.1419, allocations: 39.8 kB / 0.5669 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.1421, allocations: 83.48 kB / 0.567 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.1433, allocations: 461.6 kB / 0.5675 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.1436, allocations: 315.8 kB / 0.5678 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.1437, allocations: 9.547 kB / 0.5678 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.1439, allocations: 119.5 kB / 0.5679 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.1441, allocations: 95.66 kB / 0.568 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.1441, allocations: 4 kB / 0.568 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000682/0.1448, allocations: 371.2 kB / 0.5683 GB, free: 408 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.8e-05/0.1448, allocations: 31.89 kB / 0.5684 GB, free: 376 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.142e-05/0.1449, allocations: 109.3 kB / 0.5685 GB, free: 260 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006168/0.1456, allocations: 363.3 kB / 0.5688 GB, free: 15.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1456, allocations: 4 kB / 0.5688 GB, free: 15.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1456, allocations: 0 / 0.5688 GB, free: 15.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1456, allocations: 0 / 0.5688 GB, free: 15.89 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.0006259/0.1462, allocations: 471.3 kB / 0.5693 GB, free: 15.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1463, allocations: 8.031 kB / 0.5693 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.1463, allocations: 54.73 kB / 0.5693 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.1465, allocations: 20.75 kB / 0.5693 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.1467, allocations: 208.1 kB / 0.5695 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1467, allocations: 12.7 kB / 0.5696 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.1467, allocations: 24.31 kB / 0.5696 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.1471, allocations: 244.7 kB / 0.5698 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1471, allocations: 0 / 0.5698 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.1471, allocations: 12 kB / 0.5698 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.1472, allocations: 4 kB / 0.5698 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.1476, allocations: 439.3 kB / 0.5702 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.1486, allocations: 0.9488 MB / 0.5712 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.1489, allocations: 164 kB / 0.5713 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.522e-05/0.149, allocations: 60.84 kB / 0.5714 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/0.1501, allocations: 1.829 MB / 0.5732 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1502, allocations: 42.55 kB / 0.5732 GB, free: 10.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.1502, allocations: 0 / 0.5732 GB, free: 10.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.000289/0.1505, allocations: 141.5 kB / 0.5733 GB, free: 10.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.1505, allocations: 59.34 kB / 0.5734 GB, free: 10.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1506, allocations: 169.8 kB / 0.5736 GB, free: 10.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.1507, allocations: 29.7 kB / 0.5736 GB, free: 10.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.1508, allocations: 143.8 kB / 0.5737 GB, free: 10.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.1508, allocations: 51.2 kB / 0.5738 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.1508, allocations: 29.7 kB / 0.5738 GB, free: 10.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.1509, allocations: 322.8 kB / 0.5741 GB, free: 9.828 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.173e-05/0.151, allocations: 31.98 kB / 0.5741 GB, free: 9.797 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1511, allocations: 141.7 kB / 0.5743 GB, free: 9.609 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.1513, allocations: 199.4 kB / 0.5745 GB, free: 9.367 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1513, allocations: 0 / 0.5745 GB, free: 9.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003009/0.1516, allocations: 225.1 kB / 0.5747 GB, free: 9.141 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1517, allocations: 4 kB / 0.5747 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1517, allocations: 4 kB / 0.5747 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1517, allocations: 12.41 kB / 0.5747 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.1519, allocations: 59.91 kB / 0.5748 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1519, allocations: 4 kB / 0.5748 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.152, allocations: 23.69 kB / 0.5748 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.152, allocations: 16 kB / 0.5748 GB, free: 9.02 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 9.528e-05/0.1521, allocations: 137.6 kB / 0.5749 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.1522, allocations: 19.81 kB / 0.575 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.1524, allocations: 148.2 kB / 0.5751 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.1525, allocations: 11.94 kB / 0.5751 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1525, allocations: 0 / 0.5751 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1525, allocations: 0 / 0.5751 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.1527, allocations: 217.4 kB / 0.5753 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1527, allocations: 0 / 0.5753 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.982e-05/0.1528, allocations: 35.91 kB / 0.5754 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1528, allocations: 0 / 0.5754 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1528, allocations: 0 / 0.5754 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1528, allocations: 7.938 kB / 0.5754 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1528, allocations: 0 / 0.5754 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.1531, allocations: 229 kB / 0.5756 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.34e-05/0.1531, allocations: 101 kB / 0.5757 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1532, allocations: 8 kB / 0.5757 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.1534, allocations: 19.92 kB / 0.5757 GB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.1534, allocations: 11.98 kB / 0.5757 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1534, allocations: 8 kB / 0.5757 GB, free: 7.984 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.994e-05/0.1535, allocations: 129.6 kB / 0.5758 GB, free: 7.859 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1535, allocations: 0 / 0.5758 GB, free: 7.859 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.1539, allocations: 75.84 kB / 0.5759 GB, free: 7.785 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.0006349/0.1545, allocations: 0.8372 MB / 0.5767 GB, free: 6.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1547, allocations: 117.7 kB / 0.5768 GB, free: 6.805 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1548, allocations: 0 / 0.5768 GB, free: 6.805 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.188e-05/0.1548, allocations: 48.8 kB / 0.5769 GB, free: 6.758 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.1553, allocations: 66.58 kB / 0.577 GB, free: 6.695 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.1572, allocations: 2.111 MB / 0.579 GB, free: 4.422 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.1574, allocations: 0.7092 MB / 0.5797 GB, free: 3.688 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.1576, allocations: 45.91 kB / 0.5798 GB, free: 3.645 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.1577, allocations: 47.42 kB / 0.5798 GB, free: 3.598 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1577, allocations: 3.938 kB / 0.5798 GB, free: 3.594 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.398/3.556, allocations: 4.889 MB / 0.5846 GB, free: 31.05 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/3.556, allocations: 178.1 kB / 0.5847 GB, free: 30.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/5.834, allocations: 4.203 kB / 0.5848 GB, free: 30.8 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/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)