Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001297/0.001297, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00139/0.00139, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 8 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.002437/0.002437, allocations: 288.7 kB / 313.5 MB, free: 2.785 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.132/1.132, allocations: 180.6 MB / 0.5377 GB, free: 13 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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") [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.002808/0.002808, allocations: 101.8 kB / 0.7408 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1747, allocations: 95.39 MB / 0.834 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002264/0.177, allocations: 1.278 MB / 0.8352 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005747/0.1776, allocations: 307.4 kB / 0.8355 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/0.1776, allocations: 0 / 0.8355 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.1776, allocations: 0 / 0.8355 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.1777, allocations: 3.938 kB / 0.8355 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1779, allocations: 59.73 kB / 0.8356 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.351e-05/0.178, allocations: 15.94 kB / 0.8356 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.178, allocations: 3.984 kB / 0.8356 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.322e-05/0.178, allocations: 7.938 kB / 0.8356 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.1781, allocations: 8 kB / 0.8356 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/0.1781, allocations: 3.938 kB / 0.8356 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1782, allocations: 55.95 kB / 0.8357 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.1782, allocations: 3.984 kB / 0.8357 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.1783, allocations: 7.938 kB / 0.8357 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.1784, allocations: 51.83 kB / 0.8357 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1784, allocations: 0 / 0.8357 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1784, allocations: 7.938 kB / 0.8357 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.1784, allocations: 0 / 0.8357 GB, free: 6.293 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003469/0.1787, allocations: 258.3 kB / 0.836 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.1788, allocations: 13.94 kB / 0.836 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.179, allocations: 16.91 kB / 0.836 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.199e-05/0.1791, allocations: 110.5 kB / 0.8361 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.633e-06/0.1791, allocations: 384 / 0.8361 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.1791, allocations: 384 / 0.8361 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.968e-05/0.1792, allocations: 46.25 kB / 0.8362 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1792, allocations: 192 / 0.8362 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1792, allocations: 7.938 kB / 0.8362 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.1792, allocations: 7.984 kB / 0.8362 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.513e-05/0.1793, allocations: 15.98 kB / 0.8362 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.1794, allocations: 128.8 kB / 0.8363 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.1813, allocations: 266.3 kB / 0.8366 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.1813, allocations: 20.86 kB / 0.8366 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.1813, allocations: 0 / 0.8366 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1814, allocations: 34.56 kB / 0.8366 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1814, allocations: 4 kB / 0.8366 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001606/0.1815, allocations: 65.62 kB / 0.8367 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.1816, allocations: 55.34 kB / 0.8367 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.319e-05/0.1816, allocations: 93.84 kB / 0.8368 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1817, allocations: 25.7 kB / 0.8368 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.1817, allocations: 80.14 kB / 0.8369 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.1817, allocations: 15.89 kB / 0.8369 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.1817, allocations: 17.72 kB / 0.837 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1819, allocations: 315 kB / 0.8373 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.537e-05/0.1819, allocations: 15.98 kB / 0.8373 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-05/0.1819, allocations: 8 kB / 0.8373 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.182, allocations: 24.86 kB / 0.8373 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.182, allocations: 0 / 0.8373 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.275e-05/0.1821, allocations: 61.56 kB / 0.8374 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1821, allocations: 4 kB / 0.8374 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1821, allocations: 3.938 kB / 0.8374 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1821, allocations: 0 / 0.8374 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.1822, allocations: 19.92 kB / 0.8374 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1822, allocations: 0 / 0.8374 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.1822, allocations: 0 / 0.8374 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.1822, allocations: 0 / 0.8374 GB, free: 4.406 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 (4): * Single equations (assignments): 4 * 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.449e-05/0.1823, allocations: 114.5 kB / 0.8375 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.1823, allocations: 0 / 0.8375 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.1823, allocations: 11.47 kB / 0.8375 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1823, allocations: 0 / 0.8375 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1823, allocations: 4 kB / 0.8375 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.1823, allocations: 4 kB / 0.8375 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.1824, allocations: 128.7 kB / 0.8376 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1824, allocations: 0 / 0.8376 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.685e-05/0.1825, allocations: 4 kB / 0.8376 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1825, allocations: 4.328 kB / 0.8376 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.1825, allocations: 7.922 kB / 0.8377 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1825, allocations: 0 / 0.8377 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1825, allocations: 0 / 0.8377 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.1826, allocations: 89 kB / 0.8377 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.1826, allocations: 8 kB / 0.8377 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.1827, allocations: 3.938 kB / 0.8378 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.945e-05/0.1827, allocations: 0 / 0.8378 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.1827, allocations: 3.984 kB / 0.8378 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.1827, allocations: 4 kB / 0.8378 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.208e-05/0.1828, allocations: 75.28 kB / 0.8378 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1828, allocations: 0 / 0.8378 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001785/0.1829, allocations: 12 kB / 0.8378 GB, free: 3.863 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 (4): * Single equations (assignments): 4 * 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 9.379e-05/0.183, allocations: 95.34 kB / 0.8379 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.412e-05/0.1831, allocations: 27.92 kB / 0.838 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1831, allocations: 0 / 0.838 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.151e-05/0.1832, allocations: 12 kB / 0.838 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.1834, allocations: 21.8 kB / 0.838 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.1837, allocations: 152.5 kB / 0.8381 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.184, allocations: 0.6729 MB / 0.8388 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.184, allocations: 7.438 kB / 0.8388 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.184, allocations: 4 kB / 0.8388 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of Templates: time 0.001783/0.1858, allocations: 0.5355 MB / 0.8393 GB, free: 2.277 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.748074583942071] Failed to read output from testmodel.py, exit status != 0: 0.1928898689802736 0.20810994000000002 0.026739224000000002 Calling exit ...