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.001378/0.001378, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.001444/0.001444, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.828 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.002579/0.002579, allocations: 283.3 kB / 312.7 MB, free: 2.652 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.211/1.211, allocations: 180.6 MB / 0.5369 GB, free: 14.59 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.002916/0.002916, allocations: 110.9 kB / 0.74 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1803, allocations: 95.37 MB / 0.8331 GB, free: 7.852 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00243/0.1827, allocations: 1.299 MB / 0.8344 GB, free: 6.539 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.1449/0.3276, allocations: 115.8 MB / 0.9474 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.3277, allocations: 0 / 0.9474 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.3277, allocations: 0 / 0.9474 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 5.303e-05/0.3278, allocations: 7.922 kB / 0.9474 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.3281, allocations: 59.69 kB / 0.9475 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 8.99e-05/0.3282, allocations: 23.86 kB / 0.9475 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.3283, allocations: 4 kB / 0.9475 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.317e-05/0.3283, allocations: 7.984 kB / 0.9475 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.263e-05/0.3284, allocations: 15.92 kB / 0.9476 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.3284, allocations: 0 / 0.9476 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-05/0.3285, allocations: 19.92 kB / 0.9476 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.3285, allocations: 0 / 0.9476 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.3285, allocations: 11.94 kB / 0.9476 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.3286, allocations: 19.98 kB / 0.9476 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3286, allocations: 0 / 0.9476 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3286, allocations: 4 kB / 0.9476 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3286, allocations: 0 / 0.9476 GB, free: 2.18 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.0004146/0.3291, allocations: 254.3 kB / 0.9479 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3291, allocations: 9.344 kB / 0.9479 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.3291, allocations: 8.891 kB / 0.9479 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.3292, allocations: 110.5 kB / 0.948 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.3293, allocations: 59.97 kB / 0.948 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.3294, allocations: 384 / 0.948 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.3295, allocations: 38.25 kB / 0.9481 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3295, allocations: 7.875 kB / 0.9481 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3295, allocations: 4 kB / 0.9481 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3295, allocations: 3.938 kB / 0.9481 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.573e-05/0.3296, allocations: 19.92 kB / 0.9481 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.3298, allocations: 105.3 kB / 0.9482 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.3299, allocations: 30.61 kB / 0.9482 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.827e-05/0.3299, allocations: 12.95 kB / 0.9482 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.33, allocations: 11.98 kB / 0.9483 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3301, allocations: 34.56 kB / 0.9483 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3301, allocations: 0 / 0.9483 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3): time 0.0002428/0.3303, allocations: 69.55 kB / 0.9484 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.3304, allocations: 51.41 kB / 0.9484 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.3305, allocations: 97.84 kB / 0.9485 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3305, allocations: 25.7 kB / 0.9485 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3306, allocations: 80.14 kB / 0.9486 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.3307, allocations: 11.91 kB / 0.9486 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.3307, allocations: 13.72 kB / 0.9486 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002236/0.3309, allocations: 314.8 kB / 0.9489 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.331, allocations: 15.98 kB / 0.9489 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.331, allocations: 4.375 kB / 0.9489 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.686e-05/0.3311, allocations: 24.92 kB / 0.949 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3311, allocations: 0 / 0.949 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001257/0.3312, allocations: 57.61 kB / 0.949 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3312, allocations: 4 kB / 0.949 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3312, allocations: 0 / 0.949 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3313, allocations: 3.938 kB / 0.949 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.536e-05/0.3313, allocations: 12 kB / 0.949 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3313, allocations: 0 / 0.949 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.3314, allocations: 4 kB / 0.949 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.3314, allocations: 4 kB / 0.949 GB, free: 0.5195 MB / 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 8e-05/0.3315, allocations: 110.5 kB / 0.9492 GB, free: 412 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.3315, allocations: 3.984 kB / 0.9492 GB, free: 408 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.3316, allocations: 61.25 kB / 0.9492 GB, free: 332 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3316, allocations: 0 / 0.9492 GB, free: 332 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3316, allocations: 0 / 0.9492 GB, free: 332 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3316, allocations: 7.984 kB / 0.9492 GB, free: 324 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.509e-05/0.3317, allocations: 105.3 kB / 0.9493 GB, free: 188 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3317, allocations: 0 / 0.9493 GB, free: 188 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.3318, allocations: 4 kB / 0.9493 GB, free: 184 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3318, allocations: 4 kB / 0.9493 GB, free: 180 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.3318, allocations: 0 / 0.9493 GB, free: 180 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.3318, allocations: 7.922 kB / 0.9493 GB, free: 172 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3318, allocations: 0 / 0.9493 GB, free: 172 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.3319, allocations: 81.02 kB / 0.9494 GB, free: 72 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.332, allocations: 7.938 kB / 0.9494 GB, free: 64 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.332, allocations: 7.984 kB / 0.9494 GB, free: 56 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.9e-05/0.332, allocations: 3.938 kB / 0.9494 GB, free: 52 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.332, allocations: 0 / 0.9494 GB, free: 52 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.332, allocations: 4 kB / 0.9494 GB, free: 48 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.181e-05/0.3321, allocations: 75.28 kB / 0.9495 GB, free: 15.97 MB / 0.7013 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3321, allocations: 0 / 0.9495 GB, free: 15.97 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.0001934/0.3323, allocations: 23.92 kB / 0.9495 GB, free: 15.95 MB / 0.7013 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.000154/0.3324, allocations: 103.2 kB / 0.9496 GB, free: 15.84 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.3326, allocations: 15.98 kB / 0.9496 GB, free: 15.82 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3326, allocations: 4 kB / 0.9497 GB, free: 15.82 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 4.929e-05/0.3326, allocations: 15.94 kB / 0.9497 GB, free: 15.8 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.3329, allocations: 7.984 kB / 0.9497 GB, free: 15.79 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.3332, allocations: 124.6 kB / 0.9498 GB, free: 15.64 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.583e-05/0.3332, allocations: 55.36 kB / 0.9498 GB, free: 15.57 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 3.787e-05/0.3333, allocations: 11.98 kB / 0.9499 GB, free: 15.56 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.3333, allocations: 7.438 kB / 0.9499 GB, free: 15.55 MB / 0.7013 GB Notification: Performance of SimCode: time 2.81e-07/0.3333, allocations: 0 / 0.9499 GB, free: 15.55 MB / 0.7013 GB Notification: Performance of Templates: time 0.003026/0.3363, allocations: 0.5562 MB / 0.9504 GB, free: 15.01 MB / 0.7013 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: 6.082797449082136] Failed to read output from testmodel.py, exit status != 0: 0.34340264834463596 0.358259938 0.026692456000000003 Calling exit ...