Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_IDEAS_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.001249/0.001249, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7647/0.7647, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002123, allocations: 59.19 kB / 0.5019 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4867/0.4888, allocations: 80.21 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002906/0.4918, allocations: 1.402 MB / 0.5816 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000563/0.4924, allocations: 286.5 kB / 0.5818 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.4924, allocations: 1.094 kB / 0.5818 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.4924, allocations: 0 / 0.5818 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.4925, allocations: 9.266 kB / 0.5818 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.4928, allocations: 56.7 kB / 0.5819 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.67e-05/0.4929, allocations: 21.23 kB / 0.5819 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.011e-05/0.493, allocations: 7.859 kB / 0.5819 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.813e-05/0.493, allocations: 13.61 kB / 0.5819 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.776e-05/0.4931, allocations: 14.08 kB / 0.582 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.4931, allocations: 1.906 kB / 0.582 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.4933, allocations: 91.92 kB / 0.582 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.4933, allocations: 12.48 kB / 0.5821 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.4933, allocations: 8.328 kB / 0.5821 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.4935, allocations: 61.7 kB / 0.5821 GB, free: 3.289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4935, allocations: 3.938 kB / 0.5821 GB, free: 3.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4935, allocations: 0.875 kB / 0.5821 GB, free: 3.285 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.4935, allocations: 0 / 0.5821 GB, free: 3.285 MB / 430.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.000367/0.4939, allocations: 356.9 kB / 0.5825 GB, free: 2.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.494, allocations: 10.22 kB / 0.5825 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.672e-05/0.494, allocations: 31.36 kB / 0.5825 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.494, allocations: 2.375 kB / 0.5825 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.098e-05/0.4941, allocations: 171 kB / 0.5827 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.4941, allocations: 1.781 kB / 0.5827 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.4941, allocations: 5.906 kB / 0.5827 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.4943, allocations: 48.39 kB / 0.5827 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.4943, allocations: 5.219 kB / 0.5827 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.4943, allocations: 4 kB / 0.5827 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4943, allocations: 0 / 0.5827 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.4945, allocations: 37.58 kB / 0.5828 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.4948, allocations: 250.8 kB / 0.583 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.4949, allocations: 40.7 kB / 0.583 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.346e-05/0.495, allocations: 24.11 kB / 0.5831 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.4951, allocations: 0 / 0.5831 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.4951, allocations: 32.3 kB / 0.5831 GB, free: 2.254 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4951, allocations: 0 / 0.5831 GB, free: 2.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003883/0.4955, allocations: 88.41 kB / 0.5832 GB, free: 2.207 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.4955, allocations: 52.94 kB / 0.5832 GB, free: 2.145 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.4956, allocations: 100.9 kB / 0.5833 GB, free: 2.043 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.4956, allocations: 26.22 kB / 0.5834 GB, free: 2.012 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.4957, allocations: 85.27 kB / 0.5834 GB, free: 1.926 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.4957, allocations: 5.609 kB / 0.5834 GB, free: 1.922 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.4957, allocations: 16.88 kB / 0.5835 GB, free: 1.902 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.343e-05/0.4958, allocations: 312.3 kB / 0.5838 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.4959, allocations: 18.47 kB / 0.5838 GB, free: 1.586 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.438e-05/0.496, allocations: 18 kB / 0.5838 GB, free: 1.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.4961, allocations: 38.02 kB / 0.5838 GB, free: 1.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4961, allocations: 3.938 kB / 0.5838 GB, free: 1.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001791/0.4963, allocations: 71.62 kB / 0.5839 GB, free: 1.523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4963, allocations: 6.078 kB / 0.5839 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4964, allocations: 0 / 0.5839 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4964, allocations: 0 / 0.5839 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.48e-05/0.4965, allocations: 8.391 kB / 0.5839 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4965, allocations: 1.625 kB / 0.5839 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.4965, allocations: 5.266 kB / 0.5839 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.4965, allocations: 9.484 kB / 0.5839 GB, free: 1.516 MB / 430.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 5.429e-05/0.4966, allocations: 115.7 kB / 0.584 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.4966, allocations: 10.27 kB / 0.584 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.4969, allocations: 75 kB / 0.5841 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4969, allocations: 0.6562 kB / 0.5841 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4969, allocations: 4.75 kB / 0.5841 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4969, allocations: 192 / 0.5841 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.4971, allocations: 160.7 kB / 0.5843 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4971, allocations: 8.016 kB / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.4971, allocations: 8.234 kB / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4972, allocations: 2.156 kB / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4972, allocations: 0 / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4972, allocations: 0 / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4972, allocations: 1.641 kB / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.4974, allocations: 162.5 kB / 0.5845 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.4974, allocations: 79.48 kB / 0.5845 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.4975, allocations: 4.656 kB / 0.5845 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.4975, allocations: 5.234 kB / 0.5845 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.4976, allocations: 3.656 kB / 0.5845 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.4976, allocations: 4 kB / 0.5845 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.068e-05/0.4976, allocations: 83.86 kB / 0.5846 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4976, allocations: 0 / 0.5846 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.4979, allocations: 10.2 kB / 0.5846 GB, free: 0.8125 MB / 430.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.0004834/0.4984, allocations: 0.7076 MB / 0.5853 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.4986, allocations: 42.61 kB / 0.5854 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4986, allocations: 0 / 0.5854 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.621e-05/0.4987, allocations: 20.75 kB / 0.5854 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.499, allocations: 3.703 kB / 0.5854 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.4995, allocations: 155.9 kB / 0.5855 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.4998, allocations: 0.6804 MB / 0.5862 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.321e-05/0.4999, allocations: 1.5 kB / 0.5862 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.4999, allocations: 9.172 kB / 0.5862 GB, free: 15.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4999, allocations: 0 / 0.5862 GB, free: 15.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.5196, allocations: 1.446 MB / 0.5876 GB, free: 14.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/8.012, allocations: 9.625 kB / 0.5876 GB, free: 14.92 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)