Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_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.001009/0.001009, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005372/0.005372, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.233/1.233, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001588/0.001588, allocations: 266.2 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9334/0.9334, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.000436, allocations: 11.84 kB / 0.5988 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2018, allocations: 88.55 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002118/0.204, allocations: 1.13 MB / 0.6863 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006693/0.2047, allocations: 291.3 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.2047, allocations: 0 / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.2047, allocations: 0 / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.964e-05/0.2048, allocations: 7.969 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.2051, allocations: 51.75 kB / 0.6867 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.64e-05/0.2052, allocations: 19.94 kB / 0.6867 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2053, allocations: 4 kB / 0.6867 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.2054, allocations: 8.609 kB / 0.6867 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.2055, allocations: 16.42 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2055, allocations: 0 / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.2057, allocations: 96.38 kB / 0.6868 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.2057, allocations: 4.547 kB / 0.6868 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.2058, allocations: 34.23 kB / 0.6868 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.2059, allocations: 63.8 kB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.206, allocations: 1.938 kB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.206, allocations: 0 / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.206, allocations: 4 kB / 0.6869 GB, free: 13.24 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.0004666/0.2065, allocations: 344.5 kB / 0.6872 GB, free: 12.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.2065, allocations: 12.59 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.2066, allocations: 30.75 kB / 0.6873 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.2066, allocations: 5.375 kB / 0.6873 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.2067, allocations: 174.7 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2067, allocations: 384 / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.2068, allocations: 4.375 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.207, allocations: 47 kB / 0.6875 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.207, allocations: 7.922 kB / 0.6875 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.207, allocations: 4.656 kB / 0.6875 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.207, allocations: 4 kB / 0.6875 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.2072, allocations: 44.62 kB / 0.6876 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.2075, allocations: 252.9 kB / 0.6878 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.2077, allocations: 47.73 kB / 0.6879 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.044e-05/0.2078, allocations: 26.5 kB / 0.6879 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.2078, allocations: 0.875 kB / 0.6879 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.2079, allocations: 35.25 kB / 0.6879 GB, free: 12.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2079, allocations: 0 / 0.6879 GB, free: 12.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003828/0.2082, allocations: 103.6 kB / 0.688 GB, free: 11.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.2083, allocations: 51.41 kB / 0.6881 GB, free: 11.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/0.2084, allocations: 105.8 kB / 0.6882 GB, free: 11.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.2084, allocations: 25.7 kB / 0.6882 GB, free: 11.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.2085, allocations: 84.05 kB / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.2085, allocations: 11.94 kB / 0.6883 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.2085, allocations: 9.844 kB / 0.6883 GB, free: 11.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2086, allocations: 318.8 kB / 0.6886 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.364e-05/0.2087, allocations: 19.98 kB / 0.6886 GB, free: 11.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.2088, allocations: 19.98 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.209, allocations: 48.89 kB / 0.6887 GB, free: 11.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.209, allocations: 3.938 kB / 0.6887 GB, free: 11.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002053/0.2092, allocations: 85.5 kB / 0.6888 GB, free: 11.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.2092, allocations: 8 kB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.2092, allocations: 0 / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2093, allocations: 0 / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2094, allocations: 11.98 kB / 0.6888 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2094, allocations: 3.984 kB / 0.6888 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.2094, allocations: 23.95 kB / 0.6888 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.2095, allocations: 0 / 0.6888 GB, free: 11.08 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 7.407e-05/0.2095, allocations: 111.1 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.2096, allocations: 4 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.2098, allocations: 80.78 kB / 0.689 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2098, allocations: 7.938 kB / 0.689 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2098, allocations: 0 / 0.689 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2098, allocations: 0 / 0.689 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.21, allocations: 161.6 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.21, allocations: 0 / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.685e-05/0.2101, allocations: 11.98 kB / 0.6892 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2101, allocations: 0 / 0.6892 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.2101, allocations: 0 / 0.6892 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2101, allocations: 7.969 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2101, allocations: 8 kB / 0.6892 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.2104, allocations: 175.5 kB / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.2105, allocations: 81.02 kB / 0.6894 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.2105, allocations: 0 / 0.6894 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.2106, allocations: 11.98 kB / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.2106, allocations: 0 / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.2106, allocations: 0 / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.413e-05/0.2106, allocations: 79.28 kB / 0.6895 GB, free: 10.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.315e-06/0.2107, allocations: 3.938 kB / 0.6895 GB, free: 10.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.2109, allocations: 19.94 kB / 0.6895 GB, free: 10.23 MB / 494.1 MB 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.0006115/0.2115, allocations: 0.7164 MB / 0.6902 GB, free: 9.488 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.2117, allocations: 51.95 kB / 0.6903 GB, free: 9.438 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2118, allocations: 0 / 0.6903 GB, free: 9.438 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.2119, allocations: 27.98 kB / 0.6903 GB, free: 9.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.2121, allocations: 4.75 kB / 0.6903 GB, free: 9.406 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.2126, allocations: 162.3 kB / 0.6905 GB, free: 9.207 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.2129, allocations: 0.6731 MB / 0.6911 GB, free: 8.508 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.646e-05/0.2129, allocations: 4.062 kB / 0.6911 GB, free: 8.504 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.2129, allocations: 11.42 kB / 0.6911 GB, free: 8.492 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.213, allocations: 0 / 0.6911 GB, free: 8.492 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01107/0.224, allocations: 1.233 MB / 0.6923 GB, free: 7.441 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/0.2243, allocations: 237.8 kB / 0.6926 GB, free: 7.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/1.959, allocations: 0 / 0.6926 GB, free: 7.18 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)