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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009454/0.0009454, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009481/0.0009481, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.133/1.133, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7852/0.7852, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 63.16 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1133, allocations: 80.92 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.001885/0.1152, allocations: 1.449 MB / 0.5852 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004216/0.1156, allocations: 299 kB / 0.5855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.574e-05/0.1156, allocations: 0 / 0.5855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.1157, allocations: 0 / 0.5855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.307e-05/0.1157, allocations: 7.938 kB / 0.5855 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.1159, allocations: 55.75 kB / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.98e-05/0.116, allocations: 19.92 kB / 0.5856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.014e-05/0.116, allocations: 12 kB / 0.5856 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.671e-05/0.1161, allocations: 7.984 kB / 0.5856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.325e-05/0.1161, allocations: 15.92 kB / 0.5856 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.356e-06/0.1161, allocations: 0 / 0.5856 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.1163, allocations: 99.77 kB / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.884e-06/0.1163, allocations: 0 / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.1163, allocations: 11.94 kB / 0.5857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.1164, allocations: 68.06 kB / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1164, allocations: 0 / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.1164, allocations: 7.938 kB / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.405e-06/0.1165, allocations: 4 kB / 0.5858 GB, free: 2.844 MB / 494.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.0003163/0.1168, allocations: 347.4 kB / 0.5861 GB, free: 2.453 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.1168, allocations: 8.031 kB / 0.5861 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.388e-05/0.1168, allocations: 30.75 kB / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.864e-05/0.1169, allocations: 4.938 kB / 0.5862 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.636e-05/0.1169, allocations: 160.4 kB / 0.5863 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.117, allocations: 4.375 kB / 0.5863 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-06/0.117, allocations: 4.375 kB / 0.5863 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1171, allocations: 50.23 kB / 0.5864 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.1171, allocations: 3.938 kB / 0.5864 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-06/0.1171, allocations: 0 / 0.5864 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1171, allocations: 4 kB / 0.5864 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.1173, allocations: 35.89 kB / 0.5864 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.1175, allocations: 252.8 kB / 0.5867 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.1176, allocations: 38.53 kB / 0.5867 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/0.1177, allocations: 24.91 kB / 0.5867 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.1177, allocations: 0 / 0.5867 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.1177, allocations: 30.56 kB / 0.5868 GB, free: 1.691 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.1177, allocations: 4 kB / 0.5868 GB, free: 1.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002795/0.118, allocations: 85.58 kB / 0.5868 GB, free: 1.598 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.1181, allocations: 51.41 kB / 0.5869 GB, free: 1.535 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.3e-05/0.1181, allocations: 101.8 kB / 0.587 GB, free: 1.426 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.1181, allocations: 29.7 kB / 0.587 GB, free: 1.391 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.481e-05/0.1182, allocations: 84.08 kB / 0.5871 GB, free: 1.305 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.1182, allocations: 8.031 kB / 0.5871 GB, free: 1.297 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.1182, allocations: 17.72 kB / 0.5871 GB, free: 1.273 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.1183, allocations: 310.8 kB / 0.5874 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/0.1184, allocations: 19.97 kB / 0.5874 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.197e-05/0.1184, allocations: 15.98 kB / 0.5875 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.1186, allocations: 40.83 kB / 0.5875 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1186, allocations: 7.875 kB / 0.5875 GB, free: 0.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001605/0.1187, allocations: 65.66 kB / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.1188, allocations: 5.875 kB / 0.5876 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1188, allocations: 3.984 kB / 0.5876 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.1188, allocations: 0 / 0.5876 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.1188, allocations: 11.98 kB / 0.5876 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.1189, allocations: 32 / 0.5876 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.1189, allocations: 15.98 kB / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.1189, allocations: 0 / 0.5876 GB, free: 0.7695 MB / 494.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.146e-05/0.119, allocations: 113.8 kB / 0.5877 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.119, allocations: 4.094 kB / 0.5877 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.1192, allocations: 76.7 kB / 0.5878 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1192, allocations: 4.031 kB / 0.5878 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1192, allocations: 4 kB / 0.5878 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.1192, allocations: 0 / 0.5878 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.1193, allocations: 161.6 kB / 0.5879 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1193, allocations: 0 / 0.5879 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.853e-05/0.1194, allocations: 4 kB / 0.5879 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1194, allocations: 4 kB / 0.588 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1194, allocations: 3.984 kB / 0.588 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1194, allocations: 0 / 0.588 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1194, allocations: 0 / 0.588 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.1196, allocations: 171.4 kB / 0.5881 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.1196, allocations: 81.05 kB / 0.5882 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.1196, allocations: 4 kB / 0.5882 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.428e-05/0.1197, allocations: 4 kB / 0.5882 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.1197, allocations: 3.984 kB / 0.5882 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1197, allocations: 4 kB / 0.5882 GB, free: 40 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.735e-05/0.1198, allocations: 83.31 kB / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1198, allocations: 0 / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001954/0.12, allocations: 8 kB / 0.5883 GB, free: 15.95 MB / 0.4981 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 (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.0004026/0.1204, allocations: 0.7085 MB / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1206, allocations: 43.89 kB / 0.589 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1206, allocations: 3.938 kB / 0.589 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.108e-05/0.1207, allocations: 15.98 kB / 0.5891 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.1209, allocations: 7.938 kB / 0.5891 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.1212, allocations: 158.1 kB / 0.5892 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.1214, allocations: 0.677 MB / 0.5899 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.753e-05/0.1214, allocations: 0 / 0.5899 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.1214, allocations: 7.438 kB / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1214, allocations: 0 / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.305/3.427, allocations: 1.29 MB / 0.5911 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/3.427, allocations: 215.3 kB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/6.021, allocations: 0 / 0.5913 GB, free: 12.82 MB / 0.4981 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/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)