Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_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.004938/0.004938, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001288/0.001289, allocations: 189.5 kB / 16.67 MB, free: 5.973 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 / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002478/0.002478, allocations: 308 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.224/1.224, allocations: 178.5 MB / 0.5074 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.002681, allocations: 99.84 kB / 0.6943 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4287, allocations: 89.13 MB / 0.7813 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002419/0.4312, allocations: 1.419 MB / 0.7827 GB, free: 0 / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006311/0.4318, allocations: 290.3 kB / 0.783 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.4319, allocations: 0 / 0.783 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.4319, allocations: 5.125 kB / 0.783 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.662e-05/0.432, allocations: 3.984 kB / 0.783 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.4323, allocations: 58.23 kB / 0.783 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.901e-05/0.4324, allocations: 33.7 kB / 0.7831 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.4325, allocations: 4 kB / 0.7831 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.4325, allocations: 11.86 kB / 0.7831 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.4326, allocations: 14.69 kB / 0.7831 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.4326, allocations: 2.875 kB / 0.7831 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.4328, allocations: 87 kB / 0.7832 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.4328, allocations: 1.375 kB / 0.7832 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.4329, allocations: 18.81 kB / 0.7832 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.433, allocations: 57.58 kB / 0.7833 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.433, allocations: 0 / 0.7833 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.27e-06/0.433, allocations: 0 / 0.7833 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.4331, allocations: 3.938 kB / 0.7833 GB, free: 15.6 MB / 0.5606 GB 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.0004902/0.4336, allocations: 355.8 kB / 0.7836 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.4336, allocations: 14.72 kB / 0.7836 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.4337, allocations: 34.75 kB / 0.7837 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.518e-05/0.4337, allocations: 10.19 kB / 0.7837 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.4338, allocations: 161.4 kB / 0.7838 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.4338, allocations: 1.812 kB / 0.7838 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-06/0.4339, allocations: 1.969 kB / 0.7838 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.4341, allocations: 49.3 kB / 0.7839 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4341, allocations: 7.938 kB / 0.7839 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.4341, allocations: 0 / 0.7839 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4341, allocations: 0.9062 kB / 0.7839 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.4343, allocations: 34.84 kB / 0.7839 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.4347, allocations: 249.1 kB / 0.7842 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.4348, allocations: 42.91 kB / 0.7842 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.405e-05/0.4349, allocations: 26.45 kB / 0.7842 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.4349, allocations: 0 / 0.7842 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.435, allocations: 31.84 kB / 0.7842 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.435, allocations: 0 / 0.7842 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000365/0.4353, allocations: 88.77 kB / 0.7843 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.4354, allocations: 53.09 kB / 0.7844 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.4355, allocations: 95.02 kB / 0.7845 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.4355, allocations: 25.7 kB / 0.7845 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.4355, allocations: 88.09 kB / 0.7846 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.4356, allocations: 5.641 kB / 0.7846 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.4356, allocations: 11.44 kB / 0.7846 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4357, allocations: 316.6 kB / 0.7849 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.4358, allocations: 16.52 kB / 0.7849 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.4359, allocations: 18.27 kB / 0.7849 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.4361, allocations: 42.78 kB / 0.785 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4361, allocations: 7.875 kB / 0.785 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002057/0.4363, allocations: 73.48 kB / 0.7851 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.4363, allocations: 4.344 kB / 0.7851 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4363, allocations: 1.094 kB / 0.7851 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.4364, allocations: 0 / 0.7851 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.4364, allocations: 5.719 kB / 0.7851 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4365, allocations: 9.328 kB / 0.7851 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.4365, allocations: 2.812 kB / 0.7851 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.4365, allocations: 1.688 kB / 0.7851 GB, free: 13.72 MB / 0.5606 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.146e-05/0.4366, allocations: 119.1 kB / 0.7852 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.4366, allocations: 1.312 kB / 0.7852 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.4369, allocations: 82.84 kB / 0.7853 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4369, allocations: 0 / 0.7853 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4369, allocations: 1.375 kB / 0.7853 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4369, allocations: 0 / 0.7853 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.4371, allocations: 161.4 kB / 0.7854 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4371, allocations: 1.25 kB / 0.7854 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.4371, allocations: 13.39 kB / 0.7854 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4372, allocations: 0 / 0.7854 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.4372, allocations: 1.312 kB / 0.7854 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.4372, allocations: 0 / 0.7854 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4372, allocations: 1.469 kB / 0.7854 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.4374, allocations: 170.4 kB / 0.7856 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.4375, allocations: 81.91 kB / 0.7857 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.4375, allocations: 1.344 kB / 0.7857 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.4376, allocations: 6.609 kB / 0.7857 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.4376, allocations: 5.25 kB / 0.7857 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.4376, allocations: 1.219 kB / 0.7857 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.4377, allocations: 82.05 kB / 0.7858 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4377, allocations: 1.312 kB / 0.7858 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002272/0.4379, allocations: 9.5 kB / 0.7858 GB, free: 12.98 MB / 0.5606 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.0006321/0.4386, allocations: 0.7086 MB / 0.7865 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.4388, allocations: 41.47 kB / 0.7865 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4388, allocations: 0 / 0.7865 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.188e-05/0.4389, allocations: 19.77 kB / 0.7865 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.4392, allocations: 12.39 kB / 0.7865 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.4396, allocations: 141.7 kB / 0.7867 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.4399, allocations: 0.6761 MB / 0.7873 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.23e-05/0.4399, allocations: 5.281 kB / 0.7873 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.44, allocations: 13.12 kB / 0.7874 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.44, allocations: 3.938 kB / 0.7874 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.4624, allocations: 1.494 MB / 0.7888 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.392, allocations: 9.531 kB / 0.7888 GB, free: 10.58 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)