Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_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.001301/0.001306, 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.001238/0.001238, allocations: 192.1 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002396/0.002396, allocations: 290.4 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.049/1.049, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 99.14 kB / 0.6065 GB, free: 24.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1591, allocations: 89.14 MB / 0.6936 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002767/0.1619, allocations: 1.413 MB / 0.695 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005089/0.1625, allocations: 198.1 kB / 0.6952 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.163e-05/0.1625, allocations: 1.906 kB / 0.6952 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.1625, allocations: 3.938 kB / 0.6952 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.114e-05/0.1626, allocations: 4 kB / 0.6952 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.1628, allocations: 23.84 kB / 0.6952 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.487e-05/0.1629, allocations: 32.56 kB / 0.6952 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.163, allocations: 2.375 kB / 0.6952 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.973e-05/0.1631, allocations: 11.94 kB / 0.6952 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/0.1631, allocations: 7.984 kB / 0.6952 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1631, allocations: 4 kB / 0.6952 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.744e-05/0.1632, allocations: 23.98 kB / 0.6953 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.1633, allocations: 11.92 kB / 0.6953 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.1633, allocations: 13.78 kB / 0.6953 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.1634, allocations: 36.17 kB / 0.6953 GB, free: 2.441 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1634, allocations: 0 / 0.6953 GB, free: 2.441 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1634, allocations: 0 / 0.6953 GB, free: 2.441 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1635, allocations: 0 / 0.6953 GB, free: 2.441 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004982/0.164, allocations: 341.2 kB / 0.6957 GB, free: 2.059 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.164, allocations: 8.031 kB / 0.6957 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.164, allocations: 30.75 kB / 0.6957 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.1642, allocations: 12.92 kB / 0.6957 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.1643, allocations: 168.3 kB / 0.6959 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1643, allocations: 4.375 kB / 0.6959 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1643, allocations: 4.312 kB / 0.6959 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1645, allocations: 54.17 kB / 0.6959 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1645, allocations: 3.938 kB / 0.6959 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1646, allocations: 0 / 0.6959 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1646, allocations: 3.984 kB / 0.6959 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.1647, allocations: 39.95 kB / 0.696 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.1651, allocations: 244.9 kB / 0.6962 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.1652, allocations: 42.44 kB / 0.6962 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.747e-05/0.1653, allocations: 24.83 kB / 0.6963 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.1654, allocations: 8 kB / 0.6963 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1654, allocations: 34.56 kB / 0.6963 GB, free: 1.266 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1654, allocations: 0 / 0.6963 GB, free: 1.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000354/0.1658, allocations: 77.64 kB / 0.6964 GB, free: 1.184 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.1658, allocations: 51.41 kB / 0.6964 GB, free: 1.121 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.1659, allocations: 102 kB / 0.6965 GB, free: 1.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1659, allocations: 25.7 kB / 0.6966 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.166, allocations: 84.12 kB / 0.6966 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.166, allocations: 15.84 kB / 0.6967 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.166, allocations: 9.719 kB / 0.6967 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1662, allocations: 310.8 kB / 0.697 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.689e-05/0.1663, allocations: 19.98 kB / 0.697 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.816e-05/0.1664, allocations: 19.97 kB / 0.697 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.1665, allocations: 40.83 kB / 0.697 GB, free: 480 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1665, allocations: 3.938 kB / 0.697 GB, free: 476 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000198/0.1667, allocations: 69.66 kB / 0.6971 GB, free: 400 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1668, allocations: 4 kB / 0.6971 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1668, allocations: 4.094 kB / 0.6971 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1668, allocations: 0 / 0.6971 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.1669, allocations: 15.92 kB / 0.6971 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1669, allocations: 0 / 0.6971 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.1669, allocations: 4 kB / 0.6971 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.167, allocations: 3.984 kB / 0.6971 GB, free: 368 kB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.375e-05/0.167, allocations: 109.8 kB / 0.6972 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.1671, allocations: 4 kB / 0.6972 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.1673, allocations: 76.78 kB / 0.6973 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1673, allocations: 0 / 0.6973 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1673, allocations: 7.922 kB / 0.6973 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1673, allocations: 0 / 0.6973 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.1675, allocations: 169.5 kB / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1675, allocations: 0 / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.949e-05/0.1676, allocations: 11.98 kB / 0.6975 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1676, allocations: 4 kB / 0.6975 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1676, allocations: 0 / 0.6975 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1677, allocations: 7.938 kB / 0.6975 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1677, allocations: 0 / 0.6975 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.1679, allocations: 163.5 kB / 0.6977 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.168, allocations: 81.09 kB / 0.6977 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.168, allocations: 4 kB / 0.6977 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.1681, allocations: 8 kB / 0.6978 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.1681, allocations: 3.984 kB / 0.6978 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1681, allocations: 3.938 kB / 0.6978 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.817e-05/0.1682, allocations: 87.55 kB / 0.6978 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1682, allocations: 0 / 0.6978 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002085/0.1684, allocations: 4 kB / 0.6978 GB, free: 15.53 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 (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.0005613/0.169, allocations: 0.7123 MB / 0.6985 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.1692, allocations: 35.97 kB / 0.6986 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1692, allocations: 0 / 0.6986 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.1693, allocations: 27.91 kB / 0.6986 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.1696, allocations: 8.812 kB / 0.6986 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.17, allocations: 137.1 kB / 0.6987 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1703, allocations: 0.6807 MB / 0.6994 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.811e-05/0.1704, allocations: 0 / 0.6994 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.1704, allocations: 15.44 kB / 0.6994 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1704, allocations: 0 / 0.6994 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.1923, allocations: 1.361 MB / 0.7008 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.663, allocations: 15.3 kB / 0.7008 GB, free: 12.58 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)