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.00129/0.00129, allocations: 104.6 kB / 16.4 MB, free: 6.336 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.001278/0.001278, allocations: 191.6 kB / 17.33 MB, free: 5.816 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7677/0.7677, allocations: 122.9 MB / 414 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.31 kB / 0.5679 GB, free: 29.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1369, allocations: 77.92 MB / 0.644 GB, free: 9.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002243/0.1392, allocations: 1.398 MB / 0.6454 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004966/0.1397, allocations: 283.1 kB / 0.6457 GB, free: 7.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.1398, allocations: 4 kB / 0.6457 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.1398, allocations: 11.88 kB / 0.6457 GB, free: 7.895 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.1398, allocations: 7.922 kB / 0.6457 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1401, allocations: 51.75 kB / 0.6457 GB, free: 7.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.605e-05/0.1402, allocations: 27.92 kB / 0.6458 GB, free: 7.809 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.449e-05/0.1403, allocations: 7.984 kB / 0.6458 GB, free: 7.801 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.1403, allocations: 8 kB / 0.6458 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.563e-05/0.1404, allocations: 11.92 kB / 0.6458 GB, free: 7.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1404, allocations: 0 / 0.6458 GB, free: 7.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.1406, allocations: 95.84 kB / 0.6459 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.1406, allocations: 3.984 kB / 0.6459 GB, free: 7.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.1406, allocations: 11.94 kB / 0.6459 GB, free: 7.672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1408, allocations: 64.03 kB / 0.646 GB, free: 7.609 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1408, allocations: 7.922 kB / 0.646 GB, free: 7.602 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1408, allocations: 0 / 0.646 GB, free: 7.602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.1408, allocations: 0 / 0.646 GB, free: 7.602 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.0004457/0.1413, allocations: 347.3 kB / 0.6463 GB, free: 7.211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1413, allocations: 8.625 kB / 0.6463 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.1414, allocations: 34.75 kB / 0.6463 GB, free: 7.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.1414, allocations: 4.938 kB / 0.6463 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1415, allocations: 168.3 kB / 0.6465 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1415, allocations: 384 / 0.6465 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.1416, allocations: 8.359 kB / 0.6465 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.1417, allocations: 50.23 kB / 0.6466 GB, free: 6.891 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1418, allocations: 3.938 kB / 0.6466 GB, free: 6.887 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.1418, allocations: 0 / 0.6466 GB, free: 6.887 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1418, allocations: 0 / 0.6466 GB, free: 6.887 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.142, allocations: 39.89 kB / 0.6466 GB, free: 6.848 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.1423, allocations: 244.9 kB / 0.6468 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1424, allocations: 46.53 kB / 0.6469 GB, free: 6.504 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.584e-05/0.1425, allocations: 20.91 kB / 0.6469 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1425, allocations: 4 kB / 0.6469 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1426, allocations: 30.56 kB / 0.6469 GB, free: 6.438 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1426, allocations: 4 kB / 0.6469 GB, free: 6.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003504/0.1429, allocations: 81.52 kB / 0.647 GB, free: 6.348 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.143, allocations: 51.41 kB / 0.6471 GB, free: 6.285 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/0.1431, allocations: 110 kB / 0.6472 GB, free: 6.168 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1431, allocations: 25.7 kB / 0.6472 GB, free: 6.137 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.1431, allocations: 84.14 kB / 0.6473 GB, free: 6.051 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.1431, allocations: 7.891 kB / 0.6473 GB, free: 6.043 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.1432, allocations: 17.66 kB / 0.6473 GB, free: 6.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1433, allocations: 310.8 kB / 0.6476 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.1434, allocations: 19.97 kB / 0.6476 GB, free: 5.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.231e-05/0.1435, allocations: 19.98 kB / 0.6476 GB, free: 5.668 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1436, allocations: 40.77 kB / 0.6477 GB, free: 5.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1437, allocations: 7.938 kB / 0.6477 GB, free: 5.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001875/0.1439, allocations: 65.61 kB / 0.6477 GB, free: 5.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1439, allocations: 8 kB / 0.6477 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1439, allocations: 4.094 kB / 0.6478 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1439, allocations: 0 / 0.6478 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/0.144, allocations: 7.984 kB / 0.6478 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.144, allocations: 0 / 0.6478 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.1441, allocations: 11.98 kB / 0.6478 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1441, allocations: 4 kB / 0.6478 GB, free: 5.512 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 6.889e-05/0.1441, allocations: 110.7 kB / 0.6479 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.1442, allocations: 0 / 0.6479 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.1444, allocations: 80.72 kB / 0.648 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1444, allocations: 0 / 0.648 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1444, allocations: 0 / 0.648 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1444, allocations: 0 / 0.648 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.1446, allocations: 161.6 kB / 0.6481 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1446, allocations: 0 / 0.6481 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.1446, allocations: 8 kB / 0.6481 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1447, allocations: 0 / 0.6481 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.1447, allocations: 4.031 kB / 0.6481 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1447, allocations: 3.984 kB / 0.6481 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1447, allocations: 0 / 0.6481 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.1449, allocations: 163.4 kB / 0.6483 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.145, allocations: 85.05 kB / 0.6484 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.145, allocations: 4 kB / 0.6484 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.1451, allocations: 4.031 kB / 0.6484 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.1451, allocations: 8.172 kB / 0.6484 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1451, allocations: 0 / 0.6484 GB, free: 4.793 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.1451, allocations: 87.27 kB / 0.6485 GB, free: 4.707 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1452, allocations: 0 / 0.6485 GB, free: 4.707 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.1454, allocations: 11.94 kB / 0.6485 GB, free: 4.695 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.0005243/0.1459, allocations: 0.7123 MB / 0.6492 GB, free: 3.953 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.1461, allocations: 39.89 kB / 0.6492 GB, free: 3.914 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1461, allocations: 0 / 0.6492 GB, free: 3.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.341e-05/0.1462, allocations: 24.08 kB / 0.6492 GB, free: 3.891 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.1465, allocations: 4 kB / 0.6492 GB, free: 3.887 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.1469, allocations: 148.2 kB / 0.6494 GB, free: 3.703 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.1472, allocations: 0.6768 MB / 0.65 GB, free: 3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.322e-05/0.1472, allocations: 0 / 0.65 GB, free: 3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.1472, allocations: 15.44 kB / 0.65 GB, free: 2.984 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1472, allocations: 0 / 0.65 GB, free: 2.984 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.1641, allocations: 1.486 MB / 0.6515 GB, free: 1.613 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.7, allocations: 14.7 kB / 0.6515 GB, free: 1.602 MB / 494.1 MB (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)