Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.SublimationPressureIce,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce",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.001576/0.001576, allocations: 105.6 kB / 16.4 MB, free: 6.492 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.001755/0.001755, allocations: 193.2 kB / 17.34 MB, free: 5.73 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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8377/0.8377, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 60.5 kB / 0.5735 GB, free: 26.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1395, allocations: 78.87 MB / 0.6505 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002601/0.1421, allocations: 1.392 MB / 0.6519 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005624/0.1427, allocations: 288.9 kB / 0.6522 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.1427, allocations: 0 / 0.6522 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.1428, allocations: 3.938 kB / 0.6522 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.1428, allocations: 7.938 kB / 0.6522 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.1431, allocations: 51.75 kB / 0.6522 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.961e-05/0.1432, allocations: 27.92 kB / 0.6523 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.1433, allocations: 11.97 kB / 0.6523 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.1434, allocations: 8 kB / 0.6523 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.1434, allocations: 11.92 kB / 0.6523 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.1434, allocations: 4 kB / 0.6523 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.1437, allocations: 91.78 kB / 0.6524 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.879e-06/0.1437, allocations: 0 / 0.6524 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.1437, allocations: 11.94 kB / 0.6524 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.1439, allocations: 71.95 kB / 0.6525 GB, free: 1.629 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1439, allocations: 4 kB / 0.6525 GB, free: 1.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1439, allocations: 0 / 0.6525 GB, free: 1.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1439, allocations: 7.984 kB / 0.6525 GB, free: 1.617 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.0004625/0.1444, allocations: 343.3 kB / 0.6528 GB, free: 1.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1444, allocations: 8.031 kB / 0.6528 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.1445, allocations: 34.75 kB / 0.6528 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.1445, allocations: 4.938 kB / 0.6528 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.1446, allocations: 164.3 kB / 0.653 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1446, allocations: 4.375 kB / 0.653 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.1447, allocations: 384 / 0.653 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1448, allocations: 50.23 kB / 0.6531 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1448, allocations: 3.938 kB / 0.6531 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.1449, allocations: 0 / 0.6531 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1449, allocations: 7.984 kB / 0.6531 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.145, allocations: 35.89 kB / 0.6531 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.1454, allocations: 245 kB / 0.6533 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.1455, allocations: 42.48 kB / 0.6534 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.1456, allocations: 24.91 kB / 0.6534 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1456, allocations: 0 / 0.6534 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1457, allocations: 34.56 kB / 0.6534 GB, free: 472 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 4.378e-06/0.1457, allocations: 0 / 0.6534 GB, free: 472 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003736/0.1461, allocations: 85.58 kB / 0.6535 GB, free: 380 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.1461, allocations: 51.41 kB / 0.6536 GB, free: 316 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/0.1462, allocations: 97.84 kB / 0.6537 GB, free: 208 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1462, allocations: 33.7 kB / 0.6537 GB, free: 168 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.1463, allocations: 88.2 kB / 0.6538 GB, free: 76 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.1463, allocations: 7.891 kB / 0.6538 GB, free: 68 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.1464, allocations: 13.72 kB / 0.6538 GB, free: 48 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1465, allocations: 314.8 kB / 0.6541 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/0.1466, allocations: 19.97 kB / 0.6541 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.857e-05/0.1467, allocations: 19.98 kB / 0.6541 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1468, allocations: 40.83 kB / 0.6542 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1469, allocations: 3.938 kB / 0.6542 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002009/0.1471, allocations: 69.61 kB / 0.6542 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1471, allocations: 5.875 kB / 0.6542 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1471, allocations: 0 / 0.6542 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1471, allocations: 4 kB / 0.6543 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.1472, allocations: 12.02 kB / 0.6543 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1472, allocations: 7.922 kB / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.1473, allocations: 7.984 kB / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1473, allocations: 0 / 0.6543 GB, free: 15.54 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.364e-05/0.1474, allocations: 117.8 kB / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.1474, allocations: 0 / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.1476, allocations: 72.72 kB / 0.6545 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1476, allocations: 4 kB / 0.6545 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1477, allocations: 0 / 0.6545 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1477, allocations: 0 / 0.6545 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.1478, allocations: 165.6 kB / 0.6546 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1479, allocations: 0 / 0.6546 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.576e-05/0.1479, allocations: 4 kB / 0.6546 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1479, allocations: 4 kB / 0.6546 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1479, allocations: 0 / 0.6546 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1479, allocations: 0 / 0.6546 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1479, allocations: 3.984 kB / 0.6546 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.1482, allocations: 167.4 kB / 0.6548 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.1483, allocations: 85.05 kB / 0.6549 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.1483, allocations: 0 / 0.6549 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.1484, allocations: 4 kB / 0.6549 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.1484, allocations: 11.98 kB / 0.6549 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.1484, allocations: 4.031 kB / 0.6549 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.62e-05/0.1485, allocations: 79.28 kB / 0.655 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1485, allocations: 3.938 kB / 0.655 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002382/0.1487, allocations: 11.94 kB / 0.655 GB, free: 14.71 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 (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.0006404/0.1494, allocations: 0.7046 MB / 0.6557 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.1496, allocations: 35.91 kB / 0.6557 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1496, allocations: 0 / 0.6557 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1497, allocations: 23.97 kB / 0.6557 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.15, allocations: 4.156 kB / 0.6557 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.1505, allocations: 148.3 kB / 0.6559 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1508, allocations: 0.6768 MB / 0.6565 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.327e-05/0.1508, allocations: 0 / 0.6565 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.1509, allocations: 11.44 kB / 0.6565 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1509, allocations: 3.938 kB / 0.6565 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.1723, allocations: 1.485 MB / 0.658 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.059/8.231, allocations: 8 kB / 0.658 GB, free: 11.64 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce_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_SublimationPressureIce.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)