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.001542/0.001542, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001656/0.001656, allocations: 222.3 kB / 23 MB, free: 4.91 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.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.002482/0.002482, allocations: 286.4 kB / 313.5 MB, free: 2.621 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.18/1.18, allocations: 180.6 MB / 0.5377 GB, free: 14.48 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.002901/0.002901, allocations: 105.7 kB / 0.7407 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1721, allocations: 95.38 MB / 0.8339 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002304/0.1744, allocations: 1.275 MB / 0.8351 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005541/0.1749, allocations: 275.5 kB / 0.8354 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.84e-05/0.175, allocations: 0 / 0.8354 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.175, allocations: 0 / 0.8354 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.806e-05/0.175, allocations: 3.938 kB / 0.8354 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.1753, allocations: 55.73 kB / 0.8354 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.909e-05/0.1753, allocations: 15.92 kB / 0.8355 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.1754, allocations: 4 kB / 0.8355 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.1754, allocations: 8 kB / 0.8355 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.221e-05/0.1755, allocations: 7.938 kB / 0.8355 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.1755, allocations: 4 kB / 0.8355 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.1756, allocations: 51.94 kB / 0.8355 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.1756, allocations: 3.984 kB / 0.8355 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.1756, allocations: 11.94 kB / 0.8355 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.1757, allocations: 47.84 kB / 0.8356 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1757, allocations: 0 / 0.8356 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1757, allocations: 0 / 0.8356 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.1758, allocations: 0 / 0.8356 GB, free: 6.051 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.0003475/0.1761, allocations: 258.3 kB / 0.8358 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1761, allocations: 9.344 kB / 0.8358 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.1763, allocations: 28.91 kB / 0.8359 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.943e-05/0.1764, allocations: 118.4 kB / 0.836 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-06/0.1764, allocations: 4.375 kB / 0.836 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1764, allocations: 384 / 0.836 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.1766, allocations: 71.95 kB / 0.8361 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1766, allocations: 4.125 kB / 0.8361 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1766, allocations: 3.938 kB / 0.8361 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.1766, allocations: 0 / 0.8361 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.1766, allocations: 15.98 kB / 0.8361 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.1768, allocations: 109.3 kB / 0.8362 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.1785, allocations: 262.4 kB / 0.8364 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.1785, allocations: 24.84 kB / 0.8365 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.1785, allocations: 0 / 0.8365 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1786, allocations: 34.56 kB / 0.8365 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1786, allocations: 4 kB / 0.8365 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001694/0.1787, allocations: 65.58 kB / 0.8366 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.1788, allocations: 55.41 kB / 0.8366 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.361e-05/0.1788, allocations: 89.86 kB / 0.8367 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.1789, allocations: 29.64 kB / 0.8367 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.1789, allocations: 80.14 kB / 0.8368 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.1789, allocations: 19.89 kB / 0.8368 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.179, allocations: 13.72 kB / 0.8368 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1791, allocations: 310.8 kB / 0.8371 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.1791, allocations: 12.12 kB / 0.8371 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.1791, allocations: 11.98 kB / 0.8371 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.1792, allocations: 24.86 kB / 0.8372 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1792, allocations: 0 / 0.8372 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.024e-05/0.1793, allocations: 53.69 kB / 0.8372 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1793, allocations: 4 kB / 0.8372 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1793, allocations: 0 / 0.8372 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1793, allocations: 8.266 kB / 0.8372 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.303e-05/0.1794, allocations: 7.938 kB / 0.8372 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1794, allocations: 0 / 0.8372 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/0.1794, allocations: 0 / 0.8372 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.1794, allocations: 8 kB / 0.8373 GB, free: 4.164 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.168e-05/0.1795, allocations: 114.5 kB / 0.8374 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/0.1795, allocations: 0 / 0.8374 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.1795, allocations: 15.52 kB / 0.8374 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1795, allocations: 3.938 kB / 0.8374 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1795, allocations: 3.938 kB / 0.8374 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1795, allocations: 0 / 0.8374 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.88e-05/0.1796, allocations: 105.3 kB / 0.8375 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1796, allocations: 0 / 0.8375 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.56e-05/0.1797, allocations: 15.92 kB / 0.8375 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1797, allocations: 4 kB / 0.8375 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.1797, allocations: 0 / 0.8375 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1797, allocations: 0 / 0.8375 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1797, allocations: 3.938 kB / 0.8375 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.1798, allocations: 89.02 kB / 0.8376 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.1798, allocations: 4 kB / 0.8376 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.1798, allocations: 0 / 0.8376 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/0.1799, allocations: 4 kB / 0.8376 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.1799, allocations: 7.922 kB / 0.8376 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.1799, allocations: 0 / 0.8376 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.639e-05/0.18, allocations: 79.28 kB / 0.8377 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.18, allocations: 4 kB / 0.8377 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001719/0.1801, allocations: 4 kB / 0.8377 GB, free: 3.648 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 0.0001035/0.1802, allocations: 99.25 kB / 0.8378 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.828e-05/0.1803, allocations: 23.92 kB / 0.8378 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1803, allocations: 0 / 0.8378 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.306e-05/0.1803, allocations: 12 kB / 0.8378 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1806, allocations: 11.98 kB / 0.8378 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.1809, allocations: 154.4 kB / 0.838 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.639e-05/0.1809, allocations: 55.36 kB / 0.838 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.181, allocations: 7.438 kB / 0.838 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.181, allocations: 0 / 0.838 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.001718/0.1827, allocations: 0.5459 MB / 0.8386 GB, free: 2.688 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.779219240881503] Failed to read output from testmodel.py, exit status != 0: 0.18976859003305435 0.20373073400000002 0.025196760000000002 Calling exit ...