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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 221.8 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002662/0.002662, allocations: 297.4 kB / 313.5 MB, free: 2.73 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.181/1.181, allocations: 180.6 MB / 0.5377 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 95.11 kB / 0.7402 GB, free: 27.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2087, allocations: 95.39 MB / 0.8334 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002969/0.2117, allocations: 1.439 MB / 0.8348 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005856/0.2123, allocations: 259.2 kB / 0.835 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.2123, allocations: 0 / 0.835 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.2123, allocations: 3.984 kB / 0.835 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.569e-05/0.2124, allocations: 3.938 kB / 0.8351 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.2127, allocations: 55.75 kB / 0.8351 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.2128, allocations: 19.92 kB / 0.8351 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/0.2129, allocations: 11.98 kB / 0.8351 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.741e-05/0.2129, allocations: 15.92 kB / 0.8351 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.967e-05/0.213, allocations: 11.94 kB / 0.8352 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.213, allocations: 0 / 0.8352 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.2132, allocations: 83.86 kB / 0.8352 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.2132, allocations: 11.92 kB / 0.8353 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.2132, allocations: 4 kB / 0.8353 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.2134, allocations: 72.02 kB / 0.8353 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2134, allocations: 3.938 kB / 0.8353 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2134, allocations: 0 / 0.8353 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2134, allocations: 0 / 0.8353 GB, free: 6.34 MB / 0.5762 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.0004931/0.2139, allocations: 270.3 kB / 0.8356 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.214, allocations: 17.28 kB / 0.8356 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.899e-05/0.214, allocations: 1.859 kB / 0.8356 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/0.214, allocations: 30.75 kB / 0.8356 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.214, allocations: 12.88 kB / 0.8356 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.2142, allocations: 102.5 kB / 0.8357 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.2142, allocations: 384 / 0.8357 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.2142, allocations: 4.375 kB / 0.8357 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.2144, allocations: 53.98 kB / 0.8358 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2144, allocations: 0 / 0.8358 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2144, allocations: 7.938 kB / 0.8358 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2144, allocations: 0 / 0.8358 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.2146, allocations: 31.91 kB / 0.8358 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.2149, allocations: 224 kB / 0.8361 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.215, allocations: 30.56 kB / 0.8361 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.233e-05/0.2151, allocations: 24.89 kB / 0.8361 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.2152, allocations: 0 / 0.8361 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.2152, allocations: 38.56 kB / 0.8361 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.2152, allocations: 0 / 0.8361 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003445/0.2155, allocations: 89.52 kB / 0.8362 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.2156, allocations: 55.41 kB / 0.8363 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.394e-05/0.2157, allocations: 97.86 kB / 0.8364 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.2157, allocations: 25.7 kB / 0.8364 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.2157, allocations: 84.12 kB / 0.8365 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.2157, allocations: 16.02 kB / 0.8365 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.2158, allocations: 13.72 kB / 0.8365 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2159, allocations: 314.8 kB / 0.8368 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.649e-05/0.216, allocations: 11.98 kB / 0.8368 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/0.2161, allocations: 19.97 kB / 0.8368 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.2162, allocations: 44.77 kB / 0.8369 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2162, allocations: 4 kB / 0.8369 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000183/0.2164, allocations: 69.66 kB / 0.8369 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2164, allocations: 4 kB / 0.837 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2164, allocations: 0 / 0.837 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2164, allocations: 0 / 0.837 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.2165, allocations: 11.98 kB / 0.837 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.2165, allocations: 0 / 0.837 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.2166, allocations: 8 kB / 0.837 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2166, allocations: 4.031 kB / 0.837 GB, free: 4.457 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.587e-05/0.2167, allocations: 122.4 kB / 0.8371 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.2167, allocations: 3.984 kB / 0.8371 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.2169, allocations: 72.91 kB / 0.8372 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2169, allocations: 4 kB / 0.8372 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2169, allocations: 0 / 0.8372 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2169, allocations: 0 / 0.8372 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.2171, allocations: 128.7 kB / 0.8373 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2171, allocations: 7.969 kB / 0.8373 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.2171, allocations: 12 kB / 0.8373 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2171, allocations: 3.984 kB / 0.8373 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.2171, allocations: 0 / 0.8373 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2171, allocations: 0 / 0.8373 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2171, allocations: 0 / 0.8373 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.2174, allocations: 167.3 kB / 0.8375 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.2174, allocations: 4 kB / 0.8375 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.2174, allocations: 0 / 0.8375 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.2175, allocations: 12.03 kB / 0.8375 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.2175, allocations: 3.984 kB / 0.8375 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.2175, allocations: 0 / 0.8375 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.556e-05/0.2176, allocations: 79.28 kB / 0.8376 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2176, allocations: 0 / 0.8376 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002265/0.2178, allocations: 11.94 kB / 0.8376 GB, free: 3.758 MB / 0.5762 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.0005963/0.2184, allocations: 0.7046 MB / 0.8383 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.2186, allocations: 43.89 kB / 0.8383 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2186, allocations: 0 / 0.8383 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/0.2187, allocations: 15.98 kB / 0.8383 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.2189, allocations: 8.625 kB / 0.8383 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.2194, allocations: 148.6 kB / 0.8385 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.731e-05/0.2194, allocations: 63.34 kB / 0.8385 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.2195, allocations: 3.938 kB / 0.8385 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.2195, allocations: 11.44 kB / 0.8386 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.2195, allocations: 0 / 0.8386 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.2421, allocations: 1.681 MB / 0.8402 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.36, allocations: 11.3 kB / 0.8402 GB, free: 1.152 MB / 0.5762 GB " [Timeout remaining time 648] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.535894419066608] Failed to read output from testmodel.py, exit status != 0: 11.518111855955794 11.545034529 11.328060215 Calling exit ...