Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.001296/0.001296, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001479/0.001479, allocations: 216.4 kB / 22.99 MB, free: 4.945 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: 7.801 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.002496/0.002496, allocations: 288 kB / 313.5 MB, free: 2.609 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.171/1.171, allocations: 180.6 MB / 0.5377 GB, free: 14.45 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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [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.00286/0.00286, allocations: 104.3 kB / 0.7407 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1641, allocations: 95.38 MB / 0.8339 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002289/0.1664, allocations: 1.308 MB / 0.8351 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1427/0.3091, allocations: 115.7 MB / 0.9482 GB, free: 2.277 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.019e-05/0.3091, allocations: 0 / 0.9482 GB, free: 2.277 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.3091, allocations: 0 / 0.9482 GB, free: 2.277 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.3092, allocations: 7.922 kB / 0.9482 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.3096, allocations: 55.67 kB / 0.9482 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 9.888e-05/0.3097, allocations: 23.88 kB / 0.9483 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.3097, allocations: 3.984 kB / 0.9483 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.3098, allocations: 8 kB / 0.9483 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.3098, allocations: 15.92 kB / 0.9483 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.3098, allocations: 4 kB / 0.9483 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 9.624e-05/0.3099, allocations: 19.92 kB / 0.9483 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.31, allocations: 3.984 kB / 0.9483 GB, free: 2.137 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.31, allocations: 11.94 kB / 0.9483 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.3101, allocations: 15.98 kB / 0.9483 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3101, allocations: 0 / 0.9483 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3101, allocations: 0 / 0.9483 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.3101, allocations: 0 / 0.9483 GB, free: 2.109 MB / 0.6856 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.0004128/0.3105, allocations: 258.3 kB / 0.9486 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3106, allocations: 9.344 kB / 0.9486 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.3106, allocations: 8.891 kB / 0.9486 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.3107, allocations: 106.5 kB / 0.9487 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.3108, allocations: 63.95 kB / 0.9488 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.3108, allocations: 4.359 kB / 0.9488 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3109, allocations: 45.94 kB / 0.9488 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.311, allocations: 0 / 0.9488 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.311, allocations: 3.938 kB / 0.9488 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.311, allocations: 3.938 kB / 0.9488 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.666e-05/0.3111, allocations: 15.98 kB / 0.9488 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.3112, allocations: 105.3 kB / 0.9489 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.3113, allocations: 34.61 kB / 0.949 GB, free: 1.355 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.3113, allocations: 8.859 kB / 0.949 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.3115, allocations: 12.08 kB / 0.949 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.3115, allocations: 34.56 kB / 0.949 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.3115, allocations: 0 / 0.949 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3): time 0.0002382/0.3118, allocations: 65.55 kB / 0.9491 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.3118, allocations: 51.41 kB / 0.9491 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/0.3119, allocations: 97.86 kB / 0.9492 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3119, allocations: 25.7 kB / 0.9493 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.3119, allocations: 92.11 kB / 0.9493 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.3119, allocations: 11.91 kB / 0.9493 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.312, allocations: 13.72 kB / 0.9494 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3121, allocations: 310.8 kB / 0.9497 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.705e-05/0.3122, allocations: 11.98 kB / 0.9497 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.3122, allocations: 4 kB / 0.9497 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.762e-05/0.3123, allocations: 28.78 kB / 0.9497 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3123, allocations: 4 kB / 0.9497 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001294/0.3124, allocations: 49.69 kB / 0.9498 GB, free: 488 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3124, allocations: 4 kB / 0.9498 GB, free: 484 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3124, allocations: 3.938 kB / 0.9498 GB, free: 480 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3125, allocations: 0 / 0.9498 GB, free: 480 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.3125, allocations: 11.98 kB / 0.9498 GB, free: 468 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3125, allocations: 0 / 0.9498 GB, free: 468 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.3126, allocations: 4.516 kB / 0.9498 GB, free: 464 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.3126, allocations: 0 / 0.9498 GB, free: 464 kB / 0.6856 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 (3): * Single equations (assignments): 3 * 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.234e-05/0.3126, allocations: 118.5 kB / 0.9499 GB, free: 336 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.3127, allocations: 0 / 0.9499 GB, free: 336 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.3128, allocations: 65.22 kB / 0.95 GB, free: 256 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3128, allocations: 0 / 0.95 GB, free: 256 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3128, allocations: 4 kB / 0.95 GB, free: 252 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3128, allocations: 3.938 kB / 0.95 GB, free: 248 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.077e-05/0.3129, allocations: 105.3 kB / 0.9501 GB, free: 112 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3129, allocations: 0 / 0.9501 GB, free: 112 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.313, allocations: 4 kB / 0.9501 GB, free: 108 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.313, allocations: 0 / 0.9501 GB, free: 108 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.313, allocations: 0 / 0.9501 GB, free: 108 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.313, allocations: 7.938 kB / 0.9501 GB, free: 100 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.313, allocations: 4 kB / 0.9501 GB, free: 96 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.3132, allocations: 81.05 kB / 0.9502 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.3132, allocations: 7.938 kB / 0.9502 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.3132, allocations: 0 / 0.9502 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.174e-05/0.3132, allocations: 7.938 kB / 0.9502 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.3133, allocations: 3.938 kB / 0.9502 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3133, allocations: 0 / 0.9502 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.37e-05/0.3133, allocations: 79.28 kB / 0.9502 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3133, allocations: 0 / 0.9502 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001895/0.3135, allocations: 19.94 kB / 0.9503 GB, free: 15.88 MB / 0.7012 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 (3): * Single equations (assignments): 3 * 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.0001482/0.3136, allocations: 103.2 kB / 0.9504 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.3138, allocations: 19.98 kB / 0.9504 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3138, allocations: 0 / 0.9504 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 5.121e-05/0.3138, allocations: 15.92 kB / 0.9504 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.3141, allocations: 4 kB / 0.9504 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.3144, allocations: 157.7 kB / 0.9506 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.982e-05/0.3145, allocations: 59.36 kB / 0.9506 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.3145, allocations: 7.438 kB / 0.9506 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of SimCode: time 6.01e-07/0.3145, allocations: 0 / 0.9506 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of Templates: time 0.002036/0.3165, allocations: 0.5943 MB / 0.9512 GB, free: 14.87 MB / 0.7012 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.038481493946165] Failed to read output from testmodel.py, exit status != 0: 0.32392736291512847 0.33873096099999994 0.025658335 Calling exit ...