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.0008961/0.0008961, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007962/0.007962, allocations: 173.7 kB / 16.27 MB, free: 6.648 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: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7229/0.7229, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 8.281 kB / 0.5041 GB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5059, allocations: 81.58 MB / 0.5837 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.00164/0.5076, allocations: 1.128 MB / 0.5848 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006421/0.5083, allocations: 286.7 kB / 0.5851 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.5083, allocations: 1.469 kB / 0.5851 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.5083, allocations: 4.547 kB / 0.5851 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.5084, allocations: 3 kB / 0.5851 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.5087, allocations: 48.58 kB / 0.5852 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.69e-05/0.5088, allocations: 24.11 kB / 0.5852 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.086e-05/0.5089, allocations: 5.438 kB / 0.5852 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.873e-05/0.5089, allocations: 13.66 kB / 0.5852 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.401e-05/0.509, allocations: 9.5 kB / 0.5852 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.509, allocations: 4.906 kB / 0.5852 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.5092, allocations: 102.2 kB / 0.5853 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.5093, allocations: 6.141 kB / 0.5853 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.5093, allocations: 33.45 kB / 0.5854 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.5095, allocations: 60.34 kB / 0.5854 GB, free: 2.766 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5095, allocations: 0.5625 kB / 0.5854 GB, free: 2.766 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5095, allocations: 0 / 0.5854 GB, free: 2.766 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.5095, allocations: 0 / 0.5854 GB, free: 2.766 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.0003931/0.5099, allocations: 360.5 kB / 0.5858 GB, free: 2.391 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.51, allocations: 9.219 kB / 0.5858 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.602e-05/0.51, allocations: 32.22 kB / 0.5858 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.183e-05/0.51, allocations: 2.641 kB / 0.5858 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.533e-05/0.5101, allocations: 163.4 kB / 0.586 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.5101, allocations: 9.344 kB / 0.586 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.5101, allocations: 1.031 kB / 0.586 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.5103, allocations: 58.8 kB / 0.586 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.5103, allocations: 3.938 kB / 0.586 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.088e-06/0.5104, allocations: 0 / 0.586 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5104, allocations: 0.7812 kB / 0.586 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.5106, allocations: 42.52 kB / 0.5861 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.5109, allocations: 251 kB / 0.5863 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.511, allocations: 49.25 kB / 0.5864 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.5111, allocations: 33.08 kB / 0.5864 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.5111, allocations: 4.594 kB / 0.5864 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.5112, allocations: 32.3 kB / 0.5864 GB, free: 1.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.5112, allocations: 0 / 0.5864 GB, free: 1.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003793/0.5115, allocations: 98.17 kB / 0.5865 GB, free: 1.688 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.5116, allocations: 56.19 kB / 0.5866 GB, free: 1.621 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.404e-05/0.5117, allocations: 101.7 kB / 0.5867 GB, free: 1.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.5117, allocations: 25.7 kB / 0.5867 GB, free: 1.488 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.5117, allocations: 86.97 kB / 0.5868 GB, free: 1.402 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.5117, allocations: 8.734 kB / 0.5868 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.889e-05/0.5117, allocations: 10.88 kB / 0.5868 GB, free: 1.379 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.5118, allocations: 321.2 kB / 0.5871 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.894e-05/0.5119, allocations: 18.69 kB / 0.5871 GB, free: 1.059 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-05/0.512, allocations: 27.69 kB / 0.5872 GB, free: 1.051 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.5122, allocations: 47.16 kB / 0.5872 GB, free: 1.039 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5122, allocations: 3.938 kB / 0.5872 GB, free: 1.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002097/0.5124, allocations: 81.27 kB / 0.5873 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5124, allocations: 6.125 kB / 0.5873 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5124, allocations: 0.6562 kB / 0.5873 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5124, allocations: 1.516 kB / 0.5873 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.4e-05/0.5125, allocations: 10.45 kB / 0.5873 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5126, allocations: 1.516 kB / 0.5873 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.5126, allocations: 12.58 kB / 0.5873 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.5126, allocations: 0.75 kB / 0.5873 GB, free: 0.9883 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.735e-05/0.5127, allocations: 115.9 kB / 0.5874 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.5127, allocations: 5.422 kB / 0.5874 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.513, allocations: 81.8 kB / 0.5875 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.513, allocations: 3.938 kB / 0.5875 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.513, allocations: 1.406 kB / 0.5875 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.513, allocations: 0.5625 kB / 0.5875 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.5131, allocations: 164 kB / 0.5877 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5131, allocations: 0.6562 kB / 0.5877 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.5132, allocations: 14.33 kB / 0.5877 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5132, allocations: 4.656 kB / 0.5877 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.5132, allocations: 0.6094 kB / 0.5877 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5132, allocations: 0.625 kB / 0.5877 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5132, allocations: 5.062 kB / 0.5877 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.5135, allocations: 176.1 kB / 0.5879 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.5135, allocations: 79.5 kB / 0.5879 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.5135, allocations: 1.344 kB / 0.5879 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.5136, allocations: 7.547 kB / 0.5879 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.5137, allocations: 3.875 kB / 0.5879 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.5137, allocations: 0 / 0.5879 GB, free: 376 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.923e-05/0.5137, allocations: 87.53 kB / 0.588 GB, free: 292 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5137, allocations: 4.625 kB / 0.588 GB, free: 288 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.514, allocations: 10.14 kB / 0.588 GB, free: 288 kB / 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.0005896/0.5145, allocations: 0.7237 MB / 0.5888 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.5148, allocations: 45.34 kB / 0.5888 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5148, allocations: 4.094 kB / 0.5888 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.5149, allocations: 28.23 kB / 0.5888 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.5152, allocations: 3.453 kB / 0.5888 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.5157, allocations: 163.8 kB / 0.589 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.5159, allocations: 0.6806 MB / 0.5897 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.218e-05/0.516, allocations: 0.75 kB / 0.5897 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.516, allocations: 13.8 kB / 0.5897 GB, free: 14.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.516, allocations: 0 / 0.5897 GB, free: 14.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1426/0.6587, allocations: 1.219 MB / 0.5909 GB, free: 14.57 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003101/0.659, allocations: 209.1 kB / 0.5911 GB, free: 14.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.668, allocations: 1 kB / 0.5911 GB, free: 14.32 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)