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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.006451/0.006451, allocations: 171.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7527/0.7527, allocations: 135.2 MB / 151 MB, free: 13.81 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.634/1.634, allocations: 223.1 MB / 406.8 MB, free: 3.234 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.0009388/0.0009388, allocations: 95.52 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003591, allocations: 12 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.407, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.5573, allocations: 111.9 MB / 0.7588 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.5576, allocations: 79.95 kB / 0.7589 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004215/0.5618, allocations: 1.278 MB / 0.7602 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5619, allocations: 4 kB / 0.7602 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.5619, allocations: 0 / 0.7602 GB, free: 2.703 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.0004406/0.5623, allocations: 359.2 kB / 0.7605 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.5624, allocations: 8.031 kB / 0.7605 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.5624, allocations: 30.56 kB / 0.7605 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.434e-05/0.5624, allocations: 4 kB / 0.7605 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.5626, allocations: 171 kB / 0.7607 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5626, allocations: 0 / 0.7607 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.5626, allocations: 4 kB / 0.7607 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.5628, allocations: 53.69 kB / 0.7608 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.5628, allocations: 0 / 0.7608 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.5628, allocations: 3.984 kB / 0.7608 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5629, allocations: 3.938 kB / 0.7608 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.563, allocations: 39.97 kB / 0.7608 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.5634, allocations: 256.9 kB / 0.7611 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.5635, allocations: 34.56 kB / 0.7611 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.5635, allocations: 8.062 kB / 0.7611 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.5636, allocations: 34.56 kB / 0.7611 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.5636, allocations: 7.875 kB / 0.7611 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003889/0.564, allocations: 93.64 kB / 0.7612 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.564, allocations: 55.44 kB / 0.7613 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.192e-05/0.5641, allocations: 93 kB / 0.7614 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.5641, allocations: 33.69 kB / 0.7614 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.5642, allocations: 80.14 kB / 0.7615 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.5642, allocations: 7.906 kB / 0.7615 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.5642, allocations: 0 / 0.7615 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5644, allocations: 314.8 kB / 0.7618 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.535e-05/0.5645, allocations: 27.98 kB / 0.7618 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.81e-05/0.5646, allocations: 19.97 kB / 0.7618 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.703e-05/0.5647, allocations: 23.98 kB / 0.7619 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5647, allocations: 8 kB / 0.7619 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001982/0.5649, allocations: 69.67 kB / 0.7619 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.5649, allocations: 8.922 kB / 0.7619 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.5649, allocations: 4 kB / 0.7619 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.565, allocations: 0 / 0.7619 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.211e-05/0.5651, allocations: 12.03 kB / 0.7619 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.5651, allocations: 0 / 0.7619 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.5651, allocations: 11.92 kB / 0.762 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.5651, allocations: 4 kB / 0.762 GB, free: 0.6367 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 9.081e-05/0.5652, allocations: 109.8 kB / 0.7621 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.5653, allocations: 0 / 0.7621 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.5655, allocations: 92.7 kB / 0.7622 GB, free: 432 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5655, allocations: 192 / 0.7622 GB, free: 432 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.5655, allocations: 4 kB / 0.7622 GB, free: 428 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5656, allocations: 7.984 kB / 0.7622 GB, free: 420 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.5657, allocations: 157.6 kB / 0.7623 GB, free: 212 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5657, allocations: 0 / 0.7623 GB, free: 212 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.5658, allocations: 16.02 kB / 0.7623 GB, free: 196 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5658, allocations: 0 / 0.7623 GB, free: 196 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.5658, allocations: 0 / 0.7623 GB, free: 196 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.5658, allocations: 0 / 0.7623 GB, free: 196 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5658, allocations: 0 / 0.7623 GB, free: 196 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.5661, allocations: 187.4 kB / 0.7625 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.5661, allocations: 77.11 kB / 0.7626 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.5662, allocations: 3.938 kB / 0.7626 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.5663, allocations: 11.94 kB / 0.7626 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.5663, allocations: 0 / 0.7626 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.5663, allocations: 4.031 kB / 0.7626 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.644e-05/0.5664, allocations: 87.27 kB / 0.7627 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5664, allocations: 0 / 0.7627 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002114/0.5666, allocations: 19.94 kB / 0.7627 GB, free: 15.77 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.0006085/0.5672, allocations: 0.7124 MB / 0.7634 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.5674, allocations: 51.94 kB / 0.7635 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5674, allocations: 0 / 0.7635 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.5e-05/0.5675, allocations: 19.98 kB / 0.7635 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.5677, allocations: 7.984 kB / 0.7635 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.5681, allocations: 162.3 kB / 0.7636 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.5684, allocations: 0.6809 MB / 0.7643 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.401e-05/0.5684, allocations: 3.938 kB / 0.7643 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.5685, allocations: 11.42 kB / 0.7643 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.5685, allocations: 0 / 0.7643 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.5808, allocations: 1.198 MB / 0.7655 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/0.581, allocations: 178.4 kB / 0.7657 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.172, allocations: 3.938 kB / 0.7657 GB, free: 12.73 MB / 0.5417 GB (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/linux/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)