Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.0008994/0.0008994, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001209/0.001209, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.005/1.005, allocations: 143.4 MB / 434.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002992, allocations: 12 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 83.41 MB / 0.5975 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001406/0.1455, allocations: 1.12 MB / 0.5986 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004241/0.146, allocations: 199.6 kB / 0.5988 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.146, allocations: 4 kB / 0.5988 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.1461, allocations: 3.938 kB / 0.5988 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.1461, allocations: 0 / 0.5988 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.1463, allocations: 15.92 kB / 0.5988 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.427e-05/0.1464, allocations: 19.92 kB / 0.5989 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.619e-05/0.1465, allocations: 11.98 kB / 0.5989 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.623e-05/0.1465, allocations: 11.92 kB / 0.5989 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.527e-05/0.1466, allocations: 4 kB / 0.5989 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.1466, allocations: 0 / 0.5989 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.608e-05/0.1467, allocations: 31.97 kB / 0.5989 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.1467, allocations: 8 kB / 0.5989 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.1467, allocations: 29.64 kB / 0.599 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.459e-05/0.1468, allocations: 32.11 kB / 0.599 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1468, allocations: 0 / 0.599 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1468, allocations: 0 / 0.599 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1468, allocations: 0 / 0.599 GB, free: 6.195 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003703/0.1472, allocations: 347.2 kB / 0.5993 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1472, allocations: 12.03 kB / 0.5993 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.117e-05/0.1473, allocations: 30.56 kB / 0.5994 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.055e-05/0.1474, allocations: 7.953 kB / 0.5994 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.1475, allocations: 167 kB / 0.5995 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-06/0.1475, allocations: 0 / 0.5995 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.1475, allocations: 7.984 kB / 0.5995 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.1477, allocations: 49.67 kB / 0.5996 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1477, allocations: 8 kB / 0.5996 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-06/0.1477, allocations: 4 kB / 0.5996 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1477, allocations: 0 / 0.5996 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.1478, allocations: 47.89 kB / 0.5996 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.1482, allocations: 248.9 kB / 0.5999 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1483, allocations: 38.56 kB / 0.5999 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.688e-05/0.1484, allocations: 28.89 kB / 0.5999 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.1484, allocations: 4 kB / 0.5999 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.1484, allocations: 34.5 kB / 0.6 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1484, allocations: 0 / 0.6 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003222/0.1488, allocations: 109.5 kB / 0.6001 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.1488, allocations: 51.41 kB / 0.6001 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.962e-05/0.1489, allocations: 97.86 kB / 0.6002 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.1489, allocations: 25.7 kB / 0.6002 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.1489, allocations: 88.12 kB / 0.6003 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.1489, allocations: 3.906 kB / 0.6003 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.149, allocations: 4 kB / 0.6003 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.1491, allocations: 315 kB / 0.6006 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-05/0.1491, allocations: 19.98 kB / 0.6007 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.497e-05/0.1492, allocations: 19.98 kB / 0.6007 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.256e-05/0.1493, allocations: 31.97 kB / 0.6007 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1493, allocations: 0 / 0.6007 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002282/0.1495, allocations: 73.67 kB / 0.6008 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1496, allocations: 8.031 kB / 0.6008 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1496, allocations: 3.984 kB / 0.6008 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1496, allocations: 0 / 0.6008 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.1497, allocations: 15.94 kB / 0.6008 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1497, allocations: 3.953 kB / 0.6008 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.1497, allocations: 11.98 kB / 0.6008 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.1497, allocations: 0 / 0.6008 GB, free: 4.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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 6.394e-05/0.1498, allocations: 117.8 kB / 0.6009 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.1498, allocations: 0 / 0.6009 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.1501, allocations: 88.7 kB / 0.601 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1501, allocations: 4 kB / 0.601 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1501, allocations: 4 kB / 0.601 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1501, allocations: 3.953 kB / 0.601 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.1502, allocations: 157.7 kB / 0.6012 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1502, allocations: 0 / 0.6012 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/0.1503, allocations: 16 kB / 0.6012 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1503, allocations: 0 / 0.6012 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1503, allocations: 3.984 kB / 0.6012 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1503, allocations: 0 / 0.6012 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1503, allocations: 0 / 0.6012 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1506, allocations: 191.5 kB / 0.6014 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.1506, allocations: 77.11 kB / 0.6014 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1506, allocations: 4 kB / 0.6015 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.1507, allocations: 11.98 kB / 0.6015 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.1508, allocations: 0 / 0.6015 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1508, allocations: 4 kB / 0.6015 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.206e-05/0.1508, allocations: 87.27 kB / 0.6016 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1508, allocations: 0 / 0.6016 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002124/0.151, allocations: 4 kB / 0.6016 GB, free: 3.234 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.0005327/0.1516, allocations: 0.7046 MB / 0.6022 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.1518, allocations: 55.89 kB / 0.6023 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1518, allocations: 0 / 0.6023 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.365e-05/0.1519, allocations: 23.98 kB / 0.6023 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.1522, allocations: 4 kB / 0.6023 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.1526, allocations: 170.2 kB / 0.6025 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.1529, allocations: 0.677 MB / 0.6031 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.299e-05/0.1529, allocations: 4 kB / 0.6032 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.153, allocations: 7.438 kB / 0.6032 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of SimCode: time 1.814e-06/0.153, allocations: 0 / 0.6032 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01049/0.1635, allocations: 1.115 MB / 0.6042 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/0.1637, allocations: 217.2 kB / 0.6045 GB, free: 336 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.86, allocations: 0 / 0.6045 GB, free: 336 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: