Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.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.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",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.001084/0.001084, allocations: 109.8 kB / 16.41 MB, free: 6.5 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.001057/0.001057, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7721/0.7721, allocations: 122.9 MB / 414 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.39 kB / 0.5679 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1371, allocations: 77.93 MB / 0.644 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002473/0.1396, allocations: 1.399 MB / 0.6454 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.1405, allocations: 0.5939 MB / 0.646 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.1406, allocations: 0 / 0.646 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.1406, allocations: 0 / 0.646 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.347e-05/0.1407, allocations: 7.938 kB / 0.646 GB, free: 7.551 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.1411, allocations: 95.56 kB / 0.6461 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.13e-05/0.1411, allocations: 23.92 kB / 0.6461 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.708e-05/0.1412, allocations: 15.98 kB / 0.6461 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.1413, allocations: 15.92 kB / 0.6461 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.1413, allocations: 11.88 kB / 0.6462 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1413, allocations: 4 kB / 0.6462 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.1416, allocations: 143.8 kB / 0.6463 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.1416, allocations: 11.98 kB / 0.6463 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.1417, allocations: 3.938 kB / 0.6463 GB, free: 7.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.1419, allocations: 96.05 kB / 0.6464 GB, free: 7.137 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1419, allocations: 0 / 0.6464 GB, free: 7.137 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1419, allocations: 3.938 kB / 0.6464 GB, free: 7.133 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1419, allocations: 4 kB / 0.6464 GB, free: 7.129 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.0004361/0.1423, allocations: 363.2 kB / 0.6468 GB, free: 6.723 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1424, allocations: 12.62 kB / 0.6468 GB, free: 6.711 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.1424, allocations: 30.75 kB / 0.6468 GB, free: 6.672 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000422/0.1429, allocations: 24.91 kB / 0.6468 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.143, allocations: 180.3 kB / 0.647 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.143, allocations: 384 / 0.647 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.143, allocations: 4.375 kB / 0.647 GB, free: 6.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.1433, allocations: 62.2 kB / 0.6471 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1433, allocations: 3.938 kB / 0.6471 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1433, allocations: 0 / 0.6471 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1433, allocations: 0 / 0.6471 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002645/0.1436, allocations: 55.94 kB / 0.6471 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.144, allocations: 276.8 kB / 0.6474 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.1443, allocations: 58.48 kB / 0.6474 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.1444, allocations: 32.89 kB / 0.6475 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.1444, allocations: 0 / 0.6475 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1445, allocations: 38.55 kB / 0.6475 GB, free: 5.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.1445, allocations: 0 / 0.6475 GB, free: 5.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005065/0.145, allocations: 121.5 kB / 0.6476 GB, free: 5.711 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.145, allocations: 55.34 kB / 0.6477 GB, free: 5.645 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7e-05/0.1451, allocations: 101.8 kB / 0.6478 GB, free: 5.535 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1451, allocations: 29.69 kB / 0.6478 GB, free: 5.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.1452, allocations: 84.22 kB / 0.6479 GB, free: 5.414 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.1452, allocations: 15.94 kB / 0.6479 GB, free: 5.398 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.1452, allocations: 9.719 kB / 0.6479 GB, free: 5.383 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.1453, allocations: 322.8 kB / 0.6482 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1455, allocations: 27.91 kB / 0.6482 GB, free: 5.031 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.1456, allocations: 27.97 kB / 0.6483 GB, free: 5.004 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.1459, allocations: 52.88 kB / 0.6483 GB, free: 4.949 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1459, allocations: 3.938 kB / 0.6483 GB, free: 4.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003049/0.1462, allocations: 97.56 kB / 0.6484 GB, free: 4.844 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1462, allocations: 4 kB / 0.6484 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1462, allocations: 0 / 0.6484 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1462, allocations: 0 / 0.6484 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.1464, allocations: 15.98 kB / 0.6484 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1464, allocations: 0 / 0.6484 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.305e-05/0.1465, allocations: 11.98 kB / 0.6484 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1465, allocations: 0 / 0.6484 GB, free: 4.812 MB / 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 8.31e-05/0.1466, allocations: 113.8 kB / 0.6485 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.1466, allocations: 7.984 kB / 0.6486 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.1467, allocations: 3.125 kB / 0.6486 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1467, allocations: 0 / 0.6486 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1467, allocations: 0 / 0.6486 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1467, allocations: 0 / 0.6486 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.1469, allocations: 169.6 kB / 0.6487 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1469, allocations: 0 / 0.6487 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.147, allocations: 15.98 kB / 0.6487 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.147, allocations: 0 / 0.6487 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.147, allocations: 3.984 kB / 0.6487 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.147, allocations: 0 / 0.6487 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.147, allocations: 0 / 0.6487 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.1474, allocations: 195.3 kB / 0.6489 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.1475, allocations: 81.09 kB / 0.649 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.1475, allocations: 0 / 0.649 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.1476, allocations: 7.984 kB / 0.649 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.1476, allocations: 4 kB / 0.649 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1477, allocations: 0 / 0.649 GB, free: 4.129 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.599e-05/0.1477, allocations: 83.28 kB / 0.6491 GB, free: 4.047 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1477, allocations: 4.031 kB / 0.6491 GB, free: 4.043 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.148, allocations: 19.92 kB / 0.6491 GB, free: 4.023 MB / 494.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 (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 Backend phase and start with SimCode phase: time 0.0006352/0.1486, allocations: 0.7356 MB / 0.6498 GB, free: 3.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003118/0.1489, allocations: 55.94 kB / 0.6499 GB, free: 3.203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1489, allocations: 0 / 0.6499 GB, free: 3.203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.1491, allocations: 36.03 kB / 0.6499 GB, free: 3.168 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.1494, allocations: 3.984 kB / 0.6499 GB, free: 3.164 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.1499, allocations: 172.1 kB / 0.6501 GB, free: 2.957 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.1501, allocations: 0.6729 MB / 0.6507 GB, free: 2.258 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.836e-05/0.1502, allocations: 12.06 kB / 0.6508 GB, free: 2.246 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.1503, allocations: 15.42 kB / 0.6508 GB, free: 2.23 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1503, allocations: 0 / 0.6508 GB, free: 2.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.1673, allocations: 1.654 MB / 0.6524 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/7.644, allocations: 5.531 kB / 0.6524 GB, free: 0.668 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)