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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 108.8 kB / 16.45 MB, free: 6.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 191.7 kB / 19.41 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003219/0.003219, allocations: 284.9 kB / 303 MB, free: 9.516 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.257/1.257, allocations: 180.9 MB / 0.5261 GB, free: 14.73 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 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 106.7 kB / 0.7247 GB, free: 39.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1713, allocations: 94.16 MB / 0.8167 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002637/0.1739, allocations: 1.414 MB / 0.8181 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005948/0.1745, allocations: 283.3 kB / 0.8184 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.1745, allocations: 0 / 0.8184 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.1746, allocations: 7.938 kB / 0.8184 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.376e-05/0.1746, allocations: 15.84 kB / 0.8184 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.1749, allocations: 55.75 kB / 0.8184 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.641e-05/0.175, allocations: 23.92 kB / 0.8185 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.686e-05/0.1751, allocations: 4 kB / 0.8185 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.196e-05/0.1751, allocations: 11.98 kB / 0.8185 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.333e-05/0.1752, allocations: 7.938 kB / 0.8185 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.1752, allocations: 0 / 0.8185 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.1754, allocations: 95.77 kB / 0.8186 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.1754, allocations: 15.98 kB / 0.8186 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.1754, allocations: 11.94 kB / 0.8186 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1756, allocations: 64.08 kB / 0.8187 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1756, allocations: 0 / 0.8187 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1756, allocations: 0 / 0.8187 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.1756, allocations: 0 / 0.8187 GB, free: 3.422 MB / 0.5606 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.0005027/0.1761, allocations: 351.3 kB / 0.819 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1761, allocations: 12.03 kB / 0.819 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.1762, allocations: 34.73 kB / 0.819 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.1762, allocations: 8.891 kB / 0.819 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1763, allocations: 160.4 kB / 0.8192 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1763, allocations: 4.375 kB / 0.8192 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.1764, allocations: 8.312 kB / 0.8192 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1765, allocations: 46.23 kB / 0.8193 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1765, allocations: 3.938 kB / 0.8193 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1766, allocations: 4 kB / 0.8193 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1766, allocations: 0 / 0.8193 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.1767, allocations: 39.95 kB / 0.8193 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.1771, allocations: 241 kB / 0.8195 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.1772, allocations: 42.44 kB / 0.8196 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.911e-05/0.1773, allocations: 20.89 kB / 0.8196 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1773, allocations: 4 kB / 0.8196 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1773, allocations: 38.56 kB / 0.8196 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1773, allocations: 0 / 0.8196 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000328/0.1777, allocations: 73.64 kB / 0.8197 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.1777, allocations: 59.34 kB / 0.8198 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.1778, allocations: 101.9 kB / 0.8199 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1778, allocations: 29.7 kB / 0.8199 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.1778, allocations: 88.08 kB / 0.82 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.1779, allocations: 4 kB / 0.82 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.1779, allocations: 13.72 kB / 0.82 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.178, allocations: 310.8 kB / 0.8203 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.588e-05/0.1781, allocations: 23.98 kB / 0.8203 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-05/0.1782, allocations: 23.91 kB / 0.8203 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1783, allocations: 36.83 kB / 0.8204 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1783, allocations: 3.938 kB / 0.8204 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001809/0.1785, allocations: 69.61 kB / 0.8204 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1785, allocations: 10.5 kB / 0.8204 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1785, allocations: 0 / 0.8204 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1785, allocations: 8.031 kB / 0.8205 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.304e-05/0.1786, allocations: 7.984 kB / 0.8205 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1786, allocations: 4 kB / 0.8205 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.1787, allocations: 0 / 0.8205 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1787, allocations: 4 kB / 0.8205 GB, free: 1.336 MB / 0.5606 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 7.992e-05/0.1788, allocations: 109.8 kB / 0.8206 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.1788, allocations: 3.984 kB / 0.8206 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.179, allocations: 80.72 kB / 0.8207 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.179, allocations: 192 / 0.8207 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.179, allocations: 0 / 0.8207 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.179, allocations: 3.984 kB / 0.8207 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.1792, allocations: 157.6 kB / 0.8208 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1792, allocations: 0 / 0.8208 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.1792, allocations: 15.92 kB / 0.8208 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1792, allocations: 0 / 0.8208 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1792, allocations: 0 / 0.8208 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1792, allocations: 4.031 kB / 0.8208 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1792, allocations: 0 / 0.8208 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.1795, allocations: 165.2 kB / 0.821 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.1795, allocations: 81.06 kB / 0.8211 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.1795, allocations: 4 kB / 0.8211 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.1796, allocations: 7.984 kB / 0.8211 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.1796, allocations: 7.969 kB / 0.8211 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.1796, allocations: 0 / 0.8211 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.1797, allocations: 87.27 kB / 0.8212 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1797, allocations: 0 / 0.8212 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002194/0.1799, allocations: 8 kB / 0.8212 GB, free: 0.5195 MB / 0.5606 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.0006212/0.1805, allocations: 0.7123 MB / 0.8219 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1807, allocations: 35.97 kB / 0.8219 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1807, allocations: 3.938 kB / 0.8219 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.916e-05/0.1808, allocations: 20.06 kB / 0.8219 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.1811, allocations: 12.94 kB / 0.8219 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.1815, allocations: 144.2 kB / 0.8221 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1819, allocations: 0.6768 MB / 0.8227 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.1819, allocations: 0 / 0.8227 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.1819, allocations: 7.438 kB / 0.8227 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1819, allocations: 0 / 0.8227 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.2051, allocations: 1.512 MB / 0.8242 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.003, allocations: 18 kB / 0.8242 GB, free: 13.43 MB / 0.5762 GB " [Timeout remaining time 652] (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: 12.200403749011457] Failed to read output from testmodel.py, exit status != 0: 8.072974289767444 8.094112413 7.914080706 Calling exit ...