Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_8_Buildings_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.002054/0.002055, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.002237/0.002237, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.981/3.981, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.361/3.361, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 12.03 kB / 0.6736 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5243/0.5255, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.00259/0.5282, allocations: 1.121 MB / 0.7883 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008299/0.5291, allocations: 252.6 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.5291, allocations: 4 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.5292, allocations: 0 / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.423e-05/0.5293, allocations: 7.984 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.5298, allocations: 51.8 kB / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.215e-05/0.5299, allocations: 15.98 kB / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.53, allocations: 11.98 kB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.143e-05/0.5301, allocations: 7.922 kB / 0.7887 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.089e-05/0.5302, allocations: 11.92 kB / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.5302, allocations: 4 kB / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/0.5306, allocations: 99.84 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.5307, allocations: 4 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.5307, allocations: 25.7 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.531, allocations: 52.14 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.531, allocations: 4 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.677e-06/0.531, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.531, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 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.000743/0.5318, allocations: 347.2 kB / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.265e-05/0.5319, allocations: 12.03 kB / 0.7892 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.822e-05/0.532, allocations: 34.56 kB / 0.7892 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.532, allocations: 0 / 0.7892 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.5322, allocations: 171 kB / 0.7894 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.5323, allocations: 4 kB / 0.7894 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.5323, allocations: 0 / 0.7894 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.5326, allocations: 53.67 kB / 0.7894 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5326, allocations: 3.984 kB / 0.7894 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.5326, allocations: 0 / 0.7894 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.5326, allocations: 3.938 kB / 0.7894 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.533, allocations: 47.95 kB / 0.7895 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.5336, allocations: 244.9 kB / 0.7897 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.5339, allocations: 54.48 kB / 0.7898 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.5339, allocations: 0 / 0.7898 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.534, allocations: 30.56 kB / 0.7898 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.534, allocations: 0 / 0.7898 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006942/0.5347, allocations: 105.6 kB / 0.7899 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.5348, allocations: 55.34 kB / 0.79 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.535, allocations: 101.8 kB / 0.7901 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.535, allocations: 25.7 kB / 0.7901 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.5351, allocations: 80.27 kB / 0.7902 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.5352, allocations: 15.89 kB / 0.7902 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/0.5352, allocations: 0 / 0.7902 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.5354, allocations: 314.8 kB / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.5356, allocations: 15.98 kB / 0.7905 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.5357, allocations: 27.98 kB / 0.7905 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.5359, allocations: 19.97 kB / 0.7905 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5359, allocations: 4 kB / 0.7905 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004098/0.5364, allocations: 73.73 kB / 0.7906 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.5364, allocations: 4 kB / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.5364, allocations: 0 / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.5365, allocations: 3.938 kB / 0.7906 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.5367, allocations: 19.92 kB / 0.7906 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.5367, allocations: 0 / 0.7906 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.5368, allocations: 11.98 kB / 0.7906 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.5369, allocations: 7.984 kB / 0.7907 GB, free: 8.121 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001686/0.537, allocations: 109.8 kB / 0.7908 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.5371, allocations: 4 kB / 0.7908 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.5376, allocations: 84.78 kB / 0.7908 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5376, allocations: 0 / 0.7908 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5376, allocations: 0 / 0.7908 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.5376, allocations: 0 / 0.7908 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.5379, allocations: 169.5 kB / 0.791 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.538, allocations: 0 / 0.791 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.5381, allocations: 11.98 kB / 0.791 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.5381, allocations: 3.938 kB / 0.791 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.5381, allocations: 4 kB / 0.791 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5381, allocations: 3.938 kB / 0.791 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5381, allocations: 4.031 kB / 0.791 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.5386, allocations: 175.4 kB / 0.7912 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.5387, allocations: 77.11 kB / 0.7913 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.5387, allocations: 8.031 kB / 0.7913 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.5389, allocations: 7.984 kB / 0.7913 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.539, allocations: 0 / 0.7913 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.539, allocations: 4 kB / 0.7913 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.231e-05/0.539, allocations: 75.28 kB / 0.7914 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5391, allocations: 0 / 0.7914 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004186/0.5395, allocations: 23.98 kB / 0.7914 GB, free: 7.27 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001244/0.5408, allocations: 0.7163 MB / 0.7921 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.5412, allocations: 47.95 kB / 0.7921 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5412, allocations: 0 / 0.7921 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.5414, allocations: 24.05 kB / 0.7922 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.5418, allocations: 4 kB / 0.7922 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007289/0.5425, allocations: 162.2 kB / 0.7923 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.5431, allocations: 0.6848 MB / 0.793 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.108e-05/0.5431, allocations: 336 / 0.793 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.5432, allocations: 11.5 kB / 0.793 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of SimCode: time 1.262e-06/0.5432, allocations: 0 / 0.793 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.5755, allocations: 1.203 MB / 0.7942 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004352/0.5761, allocations: 208.9 kB / 0.7944 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/3.682, allocations: 3.938 kB / 0.7944 GB, free: 4.227 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) Environment - environmentSimulation: