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.0009763/0.0009762, allocations: 175.4 kB / 7.648 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7458/0.7458, allocations: 133.6 MB / 141.6 MB, free: 2.93 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0008847/0.0008846, allocations: 95.05 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.696e-05/2.698e-05, allocations: 4 kB / 0.5535 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4745/0.4745, allocations: 82.31 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.6363, allocations: 111.2 MB / 0.7425 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.6366, allocations: 83.94 kB / 0.7426 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003913/0.6405, allocations: 1.27 MB / 0.7438 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6406, allocations: 0 / 0.7438 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.6406, allocations: 0 / 0.7438 GB, free: 10.1 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.000418/0.641, allocations: 346.5 kB / 0.7442 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.6411, allocations: 12.03 kB / 0.7442 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.6411, allocations: 3.906 kB / 0.7442 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.6413, allocations: 175 kB / 0.7443 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.6413, allocations: 7.984 kB / 0.7443 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-06/0.6413, allocations: 0 / 0.7443 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.437e-05/0.6414, allocations: 11.94 kB / 0.7444 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.173e-05/0.6415, allocations: 37.7 kB / 0.7444 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.6415, allocations: 0 / 0.7444 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.6415, allocations: 0 / 0.7444 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6416, allocations: 0 / 0.7444 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.6419, allocations: 241.4 kB / 0.7446 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.459e-05/0.642, allocations: 22.58 kB / 0.7446 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.269e-05/0.642, allocations: 8.922 kB / 0.7447 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.642, allocations: 0 / 0.7447 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.6421, allocations: 34.5 kB / 0.7447 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6421, allocations: 4 kB / 0.7447 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001555/0.6422, allocations: 41.7 kB / 0.7447 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.6423, allocations: 51.41 kB / 0.7448 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.512e-05/0.6424, allocations: 96.98 kB / 0.7449 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.6424, allocations: 25.7 kB / 0.7449 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.6425, allocations: 80.14 kB / 0.745 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.6425, allocations: 3.906 kB / 0.745 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.6425, allocations: 0 / 0.745 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6426, allocations: 326.8 kB / 0.7453 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.6427, allocations: 0 / 0.7453 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.443e-05/0.6427, allocations: 8 kB / 0.7453 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.6427, allocations: 7.984 kB / 0.7453 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6427, allocations: 3.938 kB / 0.7453 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.792e-05/0.6428, allocations: 45.55 kB / 0.7453 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6428, allocations: 4 kB / 0.7454 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.6428, allocations: 4 kB / 0.7454 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.6428, allocations: 96 / 0.7454 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.6429, allocations: 15.98 kB / 0.7454 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.643, allocations: 0 / 0.7454 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.643, allocations: 7.984 kB / 0.7454 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.643, allocations: 4 kB / 0.7454 GB, free: 8.305 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 () * 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.945e-05/0.6431, allocations: 104.9 kB / 0.7455 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.832e-05/0.6432, allocations: 37.7 kB / 0.7455 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.6432, allocations: 8.031 kB / 0.7455 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.6433, allocations: 49.38 kB / 0.7456 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.6433, allocations: 0 / 0.7456 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.6434, allocations: 0 / 0.7456 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6434, allocations: 0 / 0.7456 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.6435, allocations: 142.2 kB / 0.7457 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6435, allocations: 0 / 0.7457 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.6436, allocations: 8 kB / 0.7457 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6436, allocations: 32 / 0.7457 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.6436, allocations: 11.94 kB / 0.7457 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6436, allocations: 3.984 kB / 0.7457 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6436, allocations: 0 / 0.7457 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.6438, allocations: 135.5 kB / 0.7459 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.6438, allocations: 85.02 kB / 0.7459 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.6438, allocations: 0 / 0.7459 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.6439, allocations: 12.02 kB / 0.746 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.644, allocations: 4 kB / 0.746 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.644, allocations: 7.984 kB / 0.746 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.644, allocations: 87.45 kB / 0.746 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.644, allocations: 0 / 0.746 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002394/0.6443, allocations: 15.94 kB / 0.7461 GB, free: 7.516 MB / 0.5261 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 () * 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.0005122/0.6448, allocations: 0.6773 MB / 0.7467 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.435e-05/0.6449, allocations: 19.92 kB / 0.7467 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6449, allocations: 0 / 0.7467 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/0.645, allocations: 8 kB / 0.7468 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.6452, allocations: 9.812 kB / 0.7468 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.6456, allocations: 97.73 kB / 0.7469 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.6458, allocations: 0.6807 MB / 0.7475 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.654e-05/0.6459, allocations: 0 / 0.7475 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.6459, allocations: 11.44 kB / 0.7475 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.6459, allocations: 0 / 0.7475 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.6633, allocations: 0.8823 MB / 0.7484 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.6635, allocations: 151.1 kB / 0.7485 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.239, allocations: 0 / 0.7485 GB, free: 4.859 MB / 0.5261 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)