Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.006369/0.006369, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001271/0.001271, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7741/0.7741, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 66.5 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1399, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00271/0.1427, allocations: 1.656 MB / 0.6608 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006855/0.1434, allocations: 398.8 kB / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.1435, allocations: 4 kB / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.986e-05/0.1436, allocations: 11.86 kB / 0.6612 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.1437, allocations: 31.77 kB / 0.6612 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.1441, allocations: 117.6 kB / 0.6613 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1443, allocations: 107.6 kB / 0.6614 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1444, allocations: 44.23 kB / 0.6615 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/0.1445, allocations: 39.86 kB / 0.6615 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.1446, allocations: 47.77 kB / 0.6616 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.1446, allocations: 8 kB / 0.6616 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.1448, allocations: 63.94 kB / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.1448, allocations: 19.92 kB / 0.6616 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/0.1449, allocations: 47.73 kB / 0.6617 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1451, allocations: 131.5 kB / 0.6618 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1451, allocations: 0 / 0.6618 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1451, allocations: 0 / 0.6618 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.1451, allocations: 4 kB / 0.6618 GB, free: 8.043 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005862/0.1457, allocations: 422.9 kB / 0.6622 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1458, allocations: 12.03 kB / 0.6622 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.1458, allocations: 38.73 kB / 0.6623 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002337/0.1461, allocations: 24.88 kB / 0.6623 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1463, allocations: 204.1 kB / 0.6625 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/0.1464, allocations: 42.25 kB / 0.6625 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.1464, allocations: 4.375 kB / 0.6625 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.1467, allocations: 103.5 kB / 0.6626 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1467, allocations: 4 kB / 0.6626 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1467, allocations: 4 kB / 0.6626 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1468, allocations: 3.938 kB / 0.6626 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.147, allocations: 83.94 kB / 0.6627 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007094/0.1477, allocations: 388.4 kB / 0.6631 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/0.1483, allocations: 134.6 kB / 0.6632 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.1484, allocations: 36.84 kB / 0.6633 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.1484, allocations: 0 / 0.6633 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1485, allocations: 34.56 kB / 0.6633 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1485, allocations: 0 / 0.6633 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004476/0.1489, allocations: 141.7 kB / 0.6634 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.149, allocations: 59.28 kB / 0.6635 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1491, allocations: 136 kB / 0.6636 GB, free: 6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1491, allocations: 25.7 kB / 0.6636 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1492, allocations: 104 kB / 0.6637 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.1493, allocations: 23.8 kB / 0.6638 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.1493, allocations: 21.7 kB / 0.6638 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1494, allocations: 322.8 kB / 0.6641 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.1496, allocations: 31.97 kB / 0.6641 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1497, allocations: 41.69 kB / 0.6642 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1499, allocations: 78.09 kB / 0.6642 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1499, allocations: 4 kB / 0.6642 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002795/0.1502, allocations: 125.5 kB / 0.6644 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1502, allocations: 4 kB / 0.6644 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1502, allocations: 0 / 0.6644 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1502, allocations: 7.938 kB / 0.6644 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1504, allocations: 15.98 kB / 0.6644 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1504, allocations: 0 / 0.6644 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.622e-05/0.1505, allocations: 15.89 kB / 0.6644 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.1505, allocations: 4.031 kB / 0.6644 GB, free: 5.148 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.969e-05/0.1506, allocations: 117.8 kB / 0.6645 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.1506, allocations: 11.94 kB / 0.6645 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.1507, allocations: 16.72 kB / 0.6645 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1507, allocations: 3.938 kB / 0.6645 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1507, allocations: 0 / 0.6645 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1507, allocations: 3.938 kB / 0.6646 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.1509, allocations: 197.6 kB / 0.6647 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1509, allocations: 0 / 0.6647 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.151, allocations: 23.98 kB / 0.6648 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.151, allocations: 0 / 0.6648 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.151, allocations: 0 / 0.6648 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.151, allocations: 3.938 kB / 0.6648 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.151, allocations: 0 / 0.6648 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.1513, allocations: 203.4 kB / 0.665 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.992e-05/0.1514, allocations: 96.98 kB / 0.6651 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.1515, allocations: 0 / 0.6651 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.1516, allocations: 15.92 kB / 0.6651 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.1517, allocations: 4 kB / 0.6651 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.1517, allocations: 7.984 kB / 0.6651 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.26e-05/0.1518, allocations: 103.3 kB / 0.6652 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1518, allocations: 0 / 0.6652 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002482/0.152, allocations: 19.95 kB / 0.6652 GB, free: 4.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 (7): * Single equations (assignments): 7 * 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.0005563/0.1526, allocations: 0.7436 MB / 0.6659 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.1528, allocations: 67.95 kB / 0.666 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1529, allocations: 0 / 0.666 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.153, allocations: 47.97 kB / 0.666 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.1533, allocations: 25.73 kB / 0.6661 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1552, allocations: 1.549 MB / 0.6676 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1555, allocations: 0.7001 MB / 0.6683 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.398e-05/0.1556, allocations: 12.67 kB / 0.6683 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.829e-05/0.1557, allocations: 27.42 kB / 0.6683 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1557, allocations: 0 / 0.6683 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.1755, allocations: 2.72 MB / 0.6709 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/7.945, allocations: 12.91 kB / 0.671 GB, free: 14.34 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)