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.001708/0.001708, allocations: 78.27 kB / 19.01 MB, free: 2.859 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.002116/0.002116, allocations: 156.1 kB / 22.25 MB, free: 5.109 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.463/1.463, allocations: 177.2 MB / 202.6 MB, free: 9.273 MB / 190.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.002623/0.002623, allocations: 242.3 kB / 259.3 MB, free: 0.582 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.061/1.061, allocations: 138.5 MB / 454.2 MB, free: 2.062 MB / 366.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.003097/0.003097, allocations: 99.84 kB / 0.6466 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3859, allocations: 95.35 MB / 0.7397 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002438/0.3883, allocations: 1.296 MB / 0.741 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006019/0.3889, allocations: 277.7 kB / 0.7412 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.389, allocations: 0 / 0.7412 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.389, allocations: 3.938 kB / 0.7412 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.621e-05/0.389, allocations: 7.984 kB / 0.7412 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.3893, allocations: 43.75 kB / 0.7413 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.351e-05/0.3894, allocations: 19.88 kB / 0.7413 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.3894, allocations: 0 / 0.7413 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.757e-05/0.3895, allocations: 11.98 kB / 0.7413 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.3895, allocations: 11.92 kB / 0.7413 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.3895, allocations: 4 kB / 0.7413 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.3896, allocations: 55.95 kB / 0.7414 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.3897, allocations: 3.984 kB / 0.7414 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.3897, allocations: 4 kB / 0.7414 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.3898, allocations: 51.69 kB / 0.7414 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3898, allocations: 4 kB / 0.7415 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3898, allocations: 0 / 0.7415 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3898, allocations: 0 / 0.7415 GB, free: 13.41 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.0003756/0.3902, allocations: 259.5 kB / 0.7417 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3902, allocations: 9.344 kB / 0.7417 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.3905, allocations: 28.91 kB / 0.7417 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.3906, allocations: 102.5 kB / 0.7418 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3906, allocations: 4.375 kB / 0.7418 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.3906, allocations: 384 / 0.7418 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.3907, allocations: 71.89 kB / 0.7419 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3907, allocations: 4.125 kB / 0.7419 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3907, allocations: 3.938 kB / 0.7419 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3907, allocations: 0 / 0.7419 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.25e-05/0.3908, allocations: 15.98 kB / 0.7419 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.3909, allocations: 113.3 kB / 0.742 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.3928, allocations: 258.5 kB / 0.7423 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.3928, allocations: 20.84 kB / 0.7423 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3928, allocations: 3.984 kB / 0.7423 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.3929, allocations: 42.44 kB / 0.7423 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.3929, allocations: 0 / 0.7423 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001623/0.393, allocations: 69.58 kB / 0.7424 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.3931, allocations: 55.41 kB / 0.7425 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.425e-05/0.3931, allocations: 93.86 kB / 0.7426 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.3932, allocations: 25.7 kB / 0.7426 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.3932, allocations: 80.14 kB / 0.7427 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.3932, allocations: 15.84 kB / 0.7427 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.3933, allocations: 21.7 kB / 0.7427 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3934, allocations: 310.8 kB / 0.743 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/0.3934, allocations: 12.12 kB / 0.743 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.3934, allocations: 11.92 kB / 0.743 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.924e-05/0.3935, allocations: 28.86 kB / 0.743 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3935, allocations: 0 / 0.743 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.531e-05/0.3936, allocations: 53.69 kB / 0.7431 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.3936, allocations: 4 kB / 0.7431 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3936, allocations: 0 / 0.7431 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3936, allocations: 3.938 kB / 0.7431 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.3937, allocations: 8 kB / 0.7431 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3937, allocations: 0 / 0.7431 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.3937, allocations: 0 / 0.7431 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.3937, allocations: 4 kB / 0.7431 GB, free: 11.54 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.108e-05/0.3938, allocations: 113.8 kB / 0.7432 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.3938, allocations: 0 / 0.7432 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.3938, allocations: 11.52 kB / 0.7432 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3938, allocations: 7.938 kB / 0.7432 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3938, allocations: 0 / 0.7432 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3938, allocations: 0 / 0.7432 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.713e-05/0.3939, allocations: 101.3 kB / 0.7433 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3939, allocations: 0 / 0.7433 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.394, allocations: 4 kB / 0.7433 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.394, allocations: 8 kB / 0.7433 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.394, allocations: 0 / 0.7433 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.394, allocations: 3.984 kB / 0.7433 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.394, allocations: 15.81 kB / 0.7434 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.3941, allocations: 81.08 kB / 0.7434 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.463e-05/0.3941, allocations: 7.938 kB / 0.7434 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.3941, allocations: 0 / 0.7434 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.814e-05/0.3942, allocations: 0 / 0.7434 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.3942, allocations: 15.92 kB / 0.7435 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.3942, allocations: 384 / 0.7435 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.3943, allocations: 79.28 kB / 0.7435 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3943, allocations: 0 / 0.7435 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001835/0.3944, allocations: 8 kB / 0.7435 GB, free: 11.02 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.0001029/0.3945, allocations: 95.25 kB / 0.7436 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.887e-05/0.3946, allocations: 23.98 kB / 0.7437 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3946, allocations: 0 / 0.7437 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.923e-05/0.3947, allocations: 20.02 kB / 0.7437 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.3949, allocations: 11.11 kB / 0.7437 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.3952, allocations: 130.9 kB / 0.7438 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.57e-05/0.3953, allocations: 59.36 kB / 0.7439 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.107e-05/0.3953, allocations: 4 kB / 0.7439 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.3954, allocations: 12.5 kB / 0.7439 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.3954, allocations: 0 / 0.7439 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of Templates: time 0.002718/0.3981, allocations: 0.5324 MB / 0.7444 GB, free: 10.09 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: 5.8284483961761] Failed to read output from testmodel.py, exit status != 0: 0.4060630314052105 0.42003633799999995 0.027176804000000002 Calling exit ...