Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006513/0.006513, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7507/0.7507, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.2 MB / 406.8 MB, free: 3.176 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009093/0.0009094, allocations: 95.42 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004636, allocations: 8 kB / 0.5691 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4074, allocations: 82.31 MB / 0.6495 GB, free: 36.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1734/0.5809, allocations: 111.9 MB / 0.7588 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.5812, allocations: 75.95 kB / 0.7589 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004393/0.5856, allocations: 1.286 MB / 0.7602 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5856, allocations: 4 kB / 0.7602 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.5856, allocations: 0 / 0.7602 GB, free: 2.746 MB / 0.5261 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.0005049/0.5861, allocations: 355.2 kB / 0.7605 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.5862, allocations: 8.031 kB / 0.7605 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.5863, allocations: 30.56 kB / 0.7605 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.5863, allocations: 7.938 kB / 0.7605 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.5864, allocations: 171 kB / 0.7607 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.5865, allocations: 4 kB / 0.7607 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.5865, allocations: 8 kB / 0.7607 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.5867, allocations: 49.67 kB / 0.7608 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.5867, allocations: 0 / 0.7608 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.5867, allocations: 7.938 kB / 0.7608 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5867, allocations: 0 / 0.7608 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.5869, allocations: 43.97 kB / 0.7608 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.5873, allocations: 248.9 kB / 0.761 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.5874, allocations: 42.56 kB / 0.7611 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.5874, allocations: 4.062 kB / 0.7611 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.5875, allocations: 34.5 kB / 0.7611 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.826e-06/0.5875, allocations: 0 / 0.7611 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003776/0.5879, allocations: 105.5 kB / 0.7612 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.5879, allocations: 51.41 kB / 0.7613 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.685e-05/0.588, allocations: 96.97 kB / 0.7614 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.588, allocations: 29.7 kB / 0.7614 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.5881, allocations: 84.14 kB / 0.7615 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.5881, allocations: 12.02 kB / 0.7615 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.5881, allocations: 0 / 0.7615 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5882, allocations: 314.8 kB / 0.7618 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-05/0.5883, allocations: 23.98 kB / 0.7618 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.58e-05/0.5884, allocations: 19.97 kB / 0.7618 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.38e-05/0.5885, allocations: 31.98 kB / 0.7619 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5885, allocations: 0 / 0.7619 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002424/0.5888, allocations: 77.66 kB / 0.7619 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.5888, allocations: 4 kB / 0.7619 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5888, allocations: 4 kB / 0.7619 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.5888, allocations: 0 / 0.7619 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.5889, allocations: 8 kB / 0.762 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.5889, allocations: 3.984 kB / 0.762 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.589, allocations: 4 kB / 0.762 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.589, allocations: 4 kB / 0.762 GB, free: 0.6758 MB / 0.5261 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 7.472e-05/0.5891, allocations: 117.8 kB / 0.7621 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.5891, allocations: 0 / 0.7621 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.5894, allocations: 84.7 kB / 0.7622 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5894, allocations: 7.969 kB / 0.7622 GB, free: 464 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5894, allocations: 4 kB / 0.7622 GB, free: 460 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5894, allocations: 0 / 0.7622 GB, free: 460 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.5896, allocations: 157.6 kB / 0.7623 GB, free: 252 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5896, allocations: 0 / 0.7623 GB, free: 252 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.615e-05/0.5896, allocations: 11.98 kB / 0.7623 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.5897, allocations: 0 / 0.7623 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.5897, allocations: 0 / 0.7623 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5897, allocations: 0 / 0.7623 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5897, allocations: 4 kB / 0.7623 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.5899, allocations: 187.3 kB / 0.7625 GB, free: 32 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.59, allocations: 77.11 kB / 0.7626 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.59, allocations: 4.031 kB / 0.7626 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.5901, allocations: 15.92 kB / 0.7626 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.5901, allocations: 0 / 0.7626 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.5901, allocations: 0 / 0.7626 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.5902, allocations: 87.27 kB / 0.7627 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5902, allocations: 0 / 0.7627 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000235/0.5904, allocations: 19.94 kB / 0.7627 GB, free: 15.81 MB / 0.5417 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.00059/0.591, allocations: 0.7124 MB / 0.7634 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.5912, allocations: 51.94 kB / 0.7635 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5912, allocations: 0 / 0.7635 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.107e-05/0.5913, allocations: 32.03 kB / 0.7635 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.5915, allocations: 0 / 0.7635 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.592, allocations: 158.2 kB / 0.7636 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.5922, allocations: 0.6809 MB / 0.7643 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.444e-05/0.5922, allocations: 0 / 0.7643 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.5923, allocations: 11.42 kB / 0.7643 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of SimCode: time 4.11e-07/0.5923, allocations: 4.062 kB / 0.7643 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01154/0.6038, allocations: 1.198 MB / 0.7655 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.6041, allocations: 191.5 kB / 0.7657 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.195, allocations: 4 kB / 0.7657 GB, free: 12.77 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)