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.001313/0.001313, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001528/0.001528, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7622/0.7622, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.89 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3595, allocations: 77.93 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002349/0.3619, allocations: 1.387 MB / 0.5686 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004682/0.3624, allocations: 290 kB / 0.5689 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.3624, allocations: 1.125 kB / 0.5689 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.3625, allocations: 0 / 0.5689 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.3625, allocations: 12.09 kB / 0.5689 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.3628, allocations: 58.7 kB / 0.569 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.22e-05/0.3629, allocations: 25.83 kB / 0.569 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.562e-05/0.363, allocations: 4.25 kB / 0.569 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.363, allocations: 14.42 kB / 0.569 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.382e-05/0.3631, allocations: 15.08 kB / 0.569 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3631, allocations: 2.062 kB / 0.569 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.3633, allocations: 90.47 kB / 0.5691 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.3633, allocations: 10.56 kB / 0.5691 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.3633, allocations: 8.625 kB / 0.5691 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.3635, allocations: 65.25 kB / 0.5692 GB, free: 31.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3635, allocations: 1.312 kB / 0.5692 GB, free: 31.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3635, allocations: 1.75 kB / 0.5692 GB, free: 31.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.3635, allocations: 0 / 0.5692 GB, free: 31.49 MB / 446.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.0003569/0.3639, allocations: 350 kB / 0.5695 GB, free: 31.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3639, allocations: 10.19 kB / 0.5696 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.52e-05/0.364, allocations: 35.31 kB / 0.5696 GB, free: 31.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.188e-05/0.364, allocations: 2.938 kB / 0.5696 GB, free: 31.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.979e-05/0.3641, allocations: 164.3 kB / 0.5697 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.3641, allocations: 1.719 kB / 0.5698 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.3641, allocations: 2.344 kB / 0.5698 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.3642, allocations: 62.08 kB / 0.5698 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.3643, allocations: 3.938 kB / 0.5698 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.3643, allocations: 0.6562 kB / 0.5698 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3643, allocations: 1.125 kB / 0.5698 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.3644, allocations: 33.3 kB / 0.5698 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.3647, allocations: 249.2 kB / 0.5701 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.3648, allocations: 46.64 kB / 0.5701 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.999e-05/0.3649, allocations: 22.98 kB / 0.5702 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.365, allocations: 2.531 kB / 0.5702 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.365, allocations: 32.3 kB / 0.5702 GB, free: 30.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.365, allocations: 1.281 kB / 0.5702 GB, free: 30.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003206/0.3653, allocations: 77.06 kB / 0.5703 GB, free: 30.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.3653, allocations: 56.02 kB / 0.5703 GB, free: 30.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.595e-05/0.3654, allocations: 98.16 kB / 0.5704 GB, free: 30.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.3654, allocations: 30.7 kB / 0.5704 GB, free: 30.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/0.3654, allocations: 90.64 kB / 0.5705 GB, free: 30.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.3655, allocations: 7.578 kB / 0.5705 GB, free: 30.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.3655, allocations: 10.84 kB / 0.5705 GB, free: 30.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.495e-05/0.3655, allocations: 317.3 kB / 0.5708 GB, free: 29.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.303e-05/0.3656, allocations: 14.81 kB / 0.5709 GB, free: 29.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-05/0.3657, allocations: 20.98 kB / 0.5709 GB, free: 29.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3659, allocations: 37.84 kB / 0.5709 GB, free: 29.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3659, allocations: 3.938 kB / 0.5709 GB, free: 29.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000182/0.3661, allocations: 64.86 kB / 0.571 GB, free: 29.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3661, allocations: 6.578 kB / 0.571 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3661, allocations: 1.469 kB / 0.571 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3661, allocations: 5.094 kB / 0.571 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.3662, allocations: 12.22 kB / 0.571 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3662, allocations: 0.7969 kB / 0.571 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.3663, allocations: 5.594 kB / 0.571 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.3663, allocations: 10.56 kB / 0.571 GB, free: 29.74 MB / 446.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 4.444e-05/0.3663, allocations: 113.3 kB / 0.5711 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.3664, allocations: 6.688 kB / 0.5711 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.3666, allocations: 72.81 kB / 0.5712 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3666, allocations: 0 / 0.5712 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.3666, allocations: 1.125 kB / 0.5712 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3666, allocations: 4.828 kB / 0.5712 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.3667, allocations: 161.2 kB / 0.5714 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3667, allocations: 1.312 kB / 0.5714 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.3668, allocations: 8.141 kB / 0.5714 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3668, allocations: 0 / 0.5714 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.3668, allocations: 6.828 kB / 0.5714 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3668, allocations: 0 / 0.5714 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3668, allocations: 0.5625 kB / 0.5714 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.367, allocations: 165.5 kB / 0.5715 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.367, allocations: 78.92 kB / 0.5716 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.3671, allocations: 1.297 kB / 0.5716 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.3671, allocations: 8.203 kB / 0.5716 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.3672, allocations: 2.344 kB / 0.5716 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.3672, allocations: 0 / 0.5716 GB, free: 29.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.013e-05/0.3672, allocations: 90.38 kB / 0.5717 GB, free: 29.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3672, allocations: 0 / 0.5717 GB, free: 29.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.3674, allocations: 9.875 kB / 0.5717 GB, free: 29.06 MB / 446.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.0003921/0.3678, allocations: 0.7103 MB / 0.5724 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.368, allocations: 36.58 kB / 0.5724 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3681, allocations: 3.969 kB / 0.5725 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.3681, allocations: 20.55 kB / 0.5725 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.3684, allocations: 2.234 kB / 0.5725 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.3688, allocations: 153.2 kB / 0.5726 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.3689, allocations: 0.675 MB / 0.5733 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.277e-05/0.369, allocations: 3.656 kB / 0.5733 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.369, allocations: 13.34 kB / 0.5733 GB, free: 27.51 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.369, allocations: 0 / 0.5733 GB, free: 27.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.3864, allocations: 1.455 MB / 0.5747 GB, free: 27.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.075/7.462, allocations: 3.984 kB / 0.5747 GB, free: 27.19 MB / 446.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)