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.001259/0.001259, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001309/0.001309, allocations: 156.7 kB / 23.01 MB, free: 4.605 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.332/1.332, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 179] 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.002364/0.002364, allocations: 238.1 kB / 260 MB, free: 484 kB / 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 0.8784/0.8784, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.002926/0.002926, allocations: 103.8 kB / 0.6473 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3794, allocations: 95.34 MB / 0.7405 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00214/0.3816, allocations: 1.282 MB / 0.7417 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0005347/0.3821, allocations: 288.1 kB / 0.742 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.3821, allocations: 0 / 0.742 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.3821, allocations: 0.8438 kB / 0.742 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.3822, allocations: 5.766 kB / 0.742 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.3825, allocations: 43.58 kB / 0.742 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.507e-05/0.3825, allocations: 22.08 kB / 0.742 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.3826, allocations: 6.984 kB / 0.7421 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.525e-05/0.3826, allocations: 12.83 kB / 0.7421 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.37e-05/0.3827, allocations: 8.328 kB / 0.7421 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.3827, allocations: 1.219 kB / 0.7421 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3828, allocations: 50.38 kB / 0.7421 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.3828, allocations: 1.828 kB / 0.7421 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.3828, allocations: 8.5 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.3829, allocations: 49.41 kB / 0.7422 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.383, allocations: 0 / 0.7422 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/0.383, allocations: 0 / 0.7422 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.383, allocations: 0 / 0.7422 GB, free: 16.29 MB / 0.5919 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.0002793/0.3832, allocations: 264.9 kB / 0.7424 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.3833, allocations: 9.844 kB / 0.7424 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.3835, allocations: 19.11 kB / 0.7425 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.357e-05/0.3835, allocations: 112.3 kB / 0.7426 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3835, allocations: 1.594 kB / 0.7426 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.3836, allocations: 5.594 kB / 0.7426 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.3837, allocations: 68.22 kB / 0.7426 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3837, allocations: 192 / 0.7426 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3837, allocations: 5.344 kB / 0.7426 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3837, allocations: 4 kB / 0.7426 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.543e-05/0.3837, allocations: 19.58 kB / 0.7427 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.325e-05/0.3838, allocations: 103.6 kB / 0.7428 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.3857, allocations: 263.4 kB / 0.743 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.3857, allocations: 21.47 kB / 0.743 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.363e-06/0.3857, allocations: 1.156 kB / 0.743 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.252e-05/0.3857, allocations: 36.56 kB / 0.7431 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3857, allocations: 1.188 kB / 0.7431 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4): time 0.0001371/0.3859, allocations: 69.08 kB / 0.7431 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.498e-05/0.3859, allocations: 53.83 kB / 0.7432 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.381e-05/0.3859, allocations: 98.5 kB / 0.7433 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.3859, allocations: 27.42 kB / 0.7433 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.917e-06/0.3859, allocations: 80.7 kB / 0.7434 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.386, allocations: 14.88 kB / 0.7434 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.386, allocations: 22.42 kB / 0.7434 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.411e-05/0.386, allocations: 313.5 kB / 0.7437 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.386, allocations: 8.297 kB / 0.7437 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.3861, allocations: 7.375 kB / 0.7437 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.832e-05/0.3861, allocations: 28.09 kB / 0.7438 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3861, allocations: 0 / 0.7438 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.392e-05/0.3862, allocations: 53.11 kB / 0.7438 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.3862, allocations: 6.047 kB / 0.7438 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.3862, allocations: 0 / 0.7438 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3862, allocations: 7.875 kB / 0.7438 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.506e-05/0.3862, allocations: 7.812 kB / 0.7438 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3862, allocations: 4 kB / 0.7438 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.3863, allocations: 0.6562 kB / 0.7438 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.3863, allocations: 1.562 kB / 0.7438 GB, free: 14.83 MB / 0.5919 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 3.714e-05/0.3863, allocations: 113 kB / 0.7439 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.3863, allocations: 2.094 kB / 0.744 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.3863, allocations: 7.531 kB / 0.744 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3864, allocations: 6.078 kB / 0.744 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3864, allocations: 4 kB / 0.744 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3864, allocations: 0 / 0.744 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.963e-05/0.3864, allocations: 107.5 kB / 0.7441 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3864, allocations: 4.797 kB / 0.7441 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.3865, allocations: 5.594 kB / 0.7441 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3865, allocations: 1.25 kB / 0.7441 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3865, allocations: 8.641 kB / 0.7441 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3865, allocations: 1.312 kB / 0.7441 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3865, allocations: 3.938 kB / 0.7441 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.717e-05/0.3865, allocations: 82.66 kB / 0.7442 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.3866, allocations: 4.328 kB / 0.7442 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.3866, allocations: 0.5156 kB / 0.7442 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.076e-05/0.3866, allocations: 6.219 kB / 0.7442 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.3866, allocations: 11.2 kB / 0.7442 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.3867, allocations: 2.719 kB / 0.7442 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.305e-05/0.3867, allocations: 75.28 kB / 0.7443 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.3867, allocations: 0 / 0.7443 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001782/0.3868, allocations: 6.594 kB / 0.7443 GB, free: 14.38 MB / 0.5919 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 6.913e-05/0.3869, allocations: 95.02 kB / 0.7444 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.5e-05/0.387, allocations: 29.31 kB / 0.7444 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.387, allocations: 0 / 0.7444 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.387, allocations: 12.86 kB / 0.7444 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.3872, allocations: 18.17 kB / 0.7444 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.3875, allocations: 122.6 kB / 0.7445 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.535e-05/0.3875, allocations: 58.59 kB / 0.7446 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.578e-05/0.3875, allocations: 5.891 kB / 0.7446 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.3876, allocations: 11 kB / 0.7446 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.3876, allocations: 0 / 0.7446 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of Templates: time 0.002556/0.3901, allocations: 0.548 MB / 0.7451 GB, free: 13.98 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.414127027965151] Failed to read output from testmodel.py, exit status != 0: 0.3971732860663906 0.407138001 0.021827893 Calling exit ...