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.001423/0.001424, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7631/0.7631, allocations: 133.6 MB / 141.6 MB, free: 2.875 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.49/1.49, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.0009583/0.0009583, allocations: 95.16 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.543e-05, allocations: 0 / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4366, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.5768, allocations: 111.2 MB / 0.7425 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.5771, allocations: 71.95 kB / 0.7426 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00419/0.5813, allocations: 1.278 MB / 0.7438 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5814, allocations: 4 kB / 0.7438 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.5814, allocations: 0 / 0.7438 GB, free: 10.13 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.0004757/0.5819, allocations: 348.1 kB / 0.7442 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.5819, allocations: 8.031 kB / 0.7442 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.582, allocations: 11.91 kB / 0.7442 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.5821, allocations: 167 kB / 0.7443 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.5822, allocations: 0 / 0.7443 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.5822, allocations: 4 kB / 0.7443 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.045e-05/0.5823, allocations: 11.94 kB / 0.7444 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.102e-05/0.5824, allocations: 37.69 kB / 0.7444 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.5824, allocations: 0 / 0.7444 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.5824, allocations: 3.984 kB / 0.7444 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.5824, allocations: 0 / 0.7444 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.5828, allocations: 229.4 kB / 0.7446 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.575e-05/0.5828, allocations: 30.58 kB / 0.7446 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.5829, allocations: 12.86 kB / 0.7447 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.5829, allocations: 0 / 0.7447 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.5829, allocations: 34.56 kB / 0.7447 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.5829, allocations: 0 / 0.7447 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001557/0.5831, allocations: 37.7 kB / 0.7447 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.5831, allocations: 55.39 kB / 0.7448 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.5832, allocations: 97.03 kB / 0.7449 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.5833, allocations: 25.7 kB / 0.7449 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.5833, allocations: 84.14 kB / 0.745 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.5834, allocations: 3.906 kB / 0.745 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.5834, allocations: 0 / 0.745 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5835, allocations: 318.8 kB / 0.7453 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.5835, allocations: 4 kB / 0.7453 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.712e-05/0.5836, allocations: 11.98 kB / 0.7453 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.896e-05/0.5836, allocations: 8 kB / 0.7453 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5836, allocations: 3.938 kB / 0.7453 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.474e-05/0.5837, allocations: 45.61 kB / 0.7453 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.5837, allocations: 5.875 kB / 0.7454 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5837, allocations: 0 / 0.7454 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.5837, allocations: 0 / 0.7454 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/0.5838, allocations: 11.98 kB / 0.7454 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.5838, allocations: 4 kB / 0.7454 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.271e-05/0.5839, allocations: 12.02 kB / 0.7454 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.5839, allocations: 0 / 0.7454 GB, free: 8.34 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.7e-05/0.584, allocations: 104.9 kB / 0.7455 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.912e-05/0.5841, allocations: 45.64 kB / 0.7455 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.5841, allocations: 0 / 0.7455 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.5842, allocations: 49.38 kB / 0.7456 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.5842, allocations: 4 kB / 0.7456 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5842, allocations: 0 / 0.7456 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5842, allocations: 4.062 kB / 0.7456 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.5844, allocations: 146.2 kB / 0.7457 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.5844, allocations: 0 / 0.7457 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.236e-05/0.5845, allocations: 8 kB / 0.7457 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.5845, allocations: 3.984 kB / 0.7457 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.5845, allocations: 0 / 0.7457 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5845, allocations: 3.984 kB / 0.7457 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5845, allocations: 0 / 0.7457 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.5846, allocations: 143.5 kB / 0.7459 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.5847, allocations: 81.02 kB / 0.7459 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.5847, allocations: 3.984 kB / 0.746 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.5848, allocations: 8 kB / 0.746 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.5848, allocations: 3.984 kB / 0.746 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.5848, allocations: 0 / 0.746 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.5849, allocations: 83.47 kB / 0.746 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5849, allocations: 4.031 kB / 0.746 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002371/0.5851, allocations: 19.94 kB / 0.7461 GB, free: 7.547 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.0005602/0.5857, allocations: 0.6773 MB / 0.7467 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.292e-05/0.5858, allocations: 15.94 kB / 0.7467 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.5858, allocations: 4.094 kB / 0.7467 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.968e-05/0.5859, allocations: 11.94 kB / 0.7468 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.586, allocations: 0 / 0.7468 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.5865, allocations: 97.58 kB / 0.7469 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.5868, allocations: 0.6807 MB / 0.7475 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.743e-05/0.5868, allocations: 144 / 0.7475 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.5869, allocations: 7.438 kB / 0.7475 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.5869, allocations: 8 kB / 0.7475 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.6202, allocations: 0.8888 MB / 0.7484 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/0.6205, allocations: 148.4 kB / 0.7485 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.169, allocations: 0 / 0.7485 GB, free: 4.887 MB / 0.5261 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)