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.0008819/0.0008819, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009313/0.0009313, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9462/0.9462, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004702, allocations: 12 kB / 0.5069 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2081, allocations: 82.3 MB / 0.5873 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.001808/0.21, allocations: 1.128 MB / 0.5884 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005892/0.2106, allocations: 255.4 kB / 0.5886 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.2106, allocations: 0 / 0.5886 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.2107, allocations: 0 / 0.5886 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.821e-05/0.2107, allocations: 0 / 0.5886 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.211, allocations: 63.78 kB / 0.5887 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.194e-05/0.2111, allocations: 15.97 kB / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.562e-05/0.2112, allocations: 4 kB / 0.5887 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.393e-05/0.2112, allocations: 11.88 kB / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.2113, allocations: 11.98 kB / 0.5887 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.2113, allocations: 0 / 0.5887 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.2116, allocations: 103.8 kB / 0.5888 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.2116, allocations: 0 / 0.5888 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.2117, allocations: 29.7 kB / 0.5888 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.2118, allocations: 40.16 kB / 0.5889 GB, free: 1.344 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2118, allocations: 11.94 kB / 0.5889 GB, free: 1.332 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2118, allocations: 0 / 0.5889 GB, free: 1.332 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.2118, allocations: 0 / 0.5889 GB, free: 1.332 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.0004922/0.2123, allocations: 351.2 kB / 0.5892 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2124, allocations: 8.031 kB / 0.5892 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.2125, allocations: 30.56 kB / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.2125, allocations: 0 / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.2126, allocations: 175 kB / 0.5894 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.2127, allocations: 0 / 0.5894 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.2127, allocations: 3.984 kB / 0.5894 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.2129, allocations: 53.67 kB / 0.5895 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.213, allocations: 3.938 kB / 0.5895 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.213, allocations: 0 / 0.5895 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.213, allocations: 4 kB / 0.5895 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.2132, allocations: 51.89 kB / 0.5895 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.2136, allocations: 248.9 kB / 0.5898 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.2138, allocations: 46.55 kB / 0.5898 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.2139, allocations: 0 / 0.5898 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.2139, allocations: 30.56 kB / 0.5898 GB, free: 180 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.2139, allocations: 0 / 0.5898 GB, free: 180 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005211/0.2144, allocations: 105.5 kB / 0.5899 GB, free: 68 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.2145, allocations: 51.41 kB / 0.59 GB, free: 4 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.2146, allocations: 101.8 kB / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.2146, allocations: 25.7 kB / 0.5901 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/0.2147, allocations: 96.25 kB / 0.5902 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.2147, allocations: 3.906 kB / 0.5902 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.2148, allocations: 0 / 0.5902 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2149, allocations: 310.8 kB / 0.5905 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.215, allocations: 23.98 kB / 0.5905 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.2151, allocations: 19.98 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.2153, allocations: 27.97 kB / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2153, allocations: 0 / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002829/0.2156, allocations: 77.67 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2156, allocations: 4 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2156, allocations: 0 / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2157, allocations: 7.938 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.2158, allocations: 15.98 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2158, allocations: 0 / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.324e-05/0.2159, allocations: 15.97 kB / 0.5907 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.2159, allocations: 0 / 0.5907 GB, free: 15.25 MB / 0.4981 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.2e-05/0.216, allocations: 115.7 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.2161, allocations: 0 / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.2164, allocations: 84.72 kB / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2164, allocations: 0 / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2164, allocations: 0 / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2164, allocations: 3.984 kB / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.2167, allocations: 157.6 kB / 0.591 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2167, allocations: 7.938 kB / 0.591 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-05/0.2168, allocations: 11.98 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2168, allocations: 0 / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.2168, allocations: 0 / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2168, allocations: 4.031 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2168, allocations: 0 / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.2172, allocations: 175.4 kB / 0.5912 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.2172, allocations: 89.08 kB / 0.5913 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.2172, allocations: 0 / 0.5913 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.2174, allocations: 7.984 kB / 0.5913 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.2174, allocations: 4 kB / 0.5913 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.2174, allocations: 3.938 kB / 0.5913 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.2175, allocations: 87.45 kB / 0.5914 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.2175, allocations: 0 / 0.5914 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003869/0.2179, allocations: 15.98 kB / 0.5914 GB, free: 14.4 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 (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.0007394/0.2187, allocations: 0.7125 MB / 0.5921 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002902/0.219, allocations: 47.95 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.219, allocations: 0 / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.2191, allocations: 31.98 kB / 0.5922 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.2194, allocations: 4 kB / 0.5922 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.22, allocations: 154.3 kB / 0.5924 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.2202, allocations: 0.6809 MB / 0.593 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.873e-05/0.2203, allocations: 0 / 0.593 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.2203, allocations: 11.5 kB / 0.593 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.2203, allocations: 3.938 kB / 0.593 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.2381, allocations: 1.201 MB / 0.5942 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003044/0.2385, allocations: 195 kB / 0.5944 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/2.758, allocations: 3.938 kB / 0.5944 GB, free: 11.37 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/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) Environment - environmentSimulation: