Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.001379/0.001379, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001609/0.001609, allocations: 215.6 kB / 22.25 MB, free: 4.852 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.462/1.462, allocations: 230.6 MB / 256 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.00256/0.00256, allocations: 277 kB / 312.7 MB, free: 2.613 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.215/1.215, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [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.002929/0.002929, allocations: 105.9 kB / 0.7395 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.18, allocations: 95.38 MB / 0.8326 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00302/0.183, allocations: 1.519 MB / 0.8341 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1521/0.3351, allocations: 115.8 MB / 0.9472 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.3352, allocations: 0 / 0.9472 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.3352, allocations: 3.938 kB / 0.9472 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 5.373e-05/0.3352, allocations: 7.875 kB / 0.9472 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.3356, allocations: 67.94 kB / 0.9473 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 9.819e-05/0.3357, allocations: 55.78 kB / 0.9473 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 8.195e-05/0.3358, allocations: 11.98 kB / 0.9473 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.566e-05/0.3358, allocations: 19.94 kB / 0.9473 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.3359, allocations: 23.91 kB / 0.9474 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.3359, allocations: 4 kB / 0.9474 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 9.464e-05/0.336, allocations: 23.92 kB / 0.9474 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.336, allocations: 15.92 kB / 0.9474 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.336, allocations: 19.92 kB / 0.9474 GB, free: 2.355 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.3362, allocations: 63.73 kB / 0.9475 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3362, allocations: 0 / 0.9475 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3362, allocations: 0 / 0.9475 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3362, allocations: 0 / 0.9475 GB, free: 2.293 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000507/0.3367, allocations: 302.1 kB / 0.9478 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3367, allocations: 9.938 kB / 0.9478 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.3368, allocations: 34.75 kB / 0.9478 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.3368, allocations: 4.922 kB / 0.9478 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.3369, allocations: 114.5 kB / 0.9479 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.3369, allocations: 4.375 kB / 0.9479 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.3369, allocations: 8.312 kB / 0.9479 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.3372, allocations: 74.22 kB / 0.948 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3372, allocations: 3.938 kB / 0.948 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3372, allocations: 7.922 kB / 0.948 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.3372, allocations: 4 kB / 0.948 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.3375, allocations: 59.94 kB / 0.9481 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.3379, allocations: 255.8 kB / 0.9483 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.3381, allocations: 58.48 kB / 0.9484 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.3382, allocations: 44.89 kB / 0.9484 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.3383, allocations: 11.98 kB / 0.9484 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.3384, allocations: 30.56 kB / 0.9485 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3384, allocations: 4 kB / 0.9485 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3): time 0.000546/0.3389, allocations: 137.4 kB / 0.9486 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.339, allocations: 55.41 kB / 0.9487 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3391, allocations: 121.8 kB / 0.9488 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3391, allocations: 25.7 kB / 0.9488 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.3391, allocations: 88.14 kB / 0.9489 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.3392, allocations: 7.953 kB / 0.9489 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.3392, allocations: 13.72 kB / 0.9489 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3393, allocations: 326.8 kB / 0.9492 GB, free: 344 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.3395, allocations: 27.97 kB / 0.9492 GB, free: 316 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.3396, allocations: 35.95 kB / 0.9493 GB, free: 280 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.3399, allocations: 68.78 kB / 0.9493 GB, free: 208 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3399, allocations: 4 kB / 0.9494 GB, free: 204 kB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003185/0.3402, allocations: 101.5 kB / 0.9494 GB, free: 96 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3402, allocations: 4 kB / 0.9495 GB, free: 92 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3402, allocations: 0 / 0.9495 GB, free: 92 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3402, allocations: 0 / 0.9495 GB, free: 92 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3404, allocations: 15.98 kB / 0.9495 GB, free: 76 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3404, allocations: 4 kB / 0.9495 GB, free: 72 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.3404, allocations: 15.97 kB / 0.9495 GB, free: 56 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.3404, allocations: 0 / 0.9495 GB, free: 56 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 9.879e-05/0.3405, allocations: 118.4 kB / 0.9496 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.3406, allocations: 7.953 kB / 0.9496 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.3409, allocations: 105.5 kB / 0.9497 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3409, allocations: 8 kB / 0.9497 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3409, allocations: 0 / 0.9497 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3409, allocations: 0 / 0.9497 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.3411, allocations: 144.7 kB / 0.9499 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3411, allocations: 0 / 0.9499 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.3412, allocations: 15.98 kB / 0.9499 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3412, allocations: 0 / 0.9499 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3412, allocations: 0 / 0.9499 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3412, allocations: 0 / 0.9499 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3412, allocations: 0 / 0.9499 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.3416, allocations: 211.3 kB / 0.9501 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.3416, allocations: 12.31 kB / 0.9501 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3416, allocations: 0 / 0.9501 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.3417, allocations: 11.98 kB / 0.9501 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.3418, allocations: 3.984 kB / 0.9501 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3418, allocations: 0 / 0.9501 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 6.467e-05/0.3418, allocations: 103.2 kB / 0.9502 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.3418, allocations: 4 kB / 0.9502 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002291/0.3421, allocations: 12 kB / 0.9502 GB, free: 15.23 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.0007196/0.3428, allocations: 0.7436 MB / 0.9509 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003343/0.3431, allocations: 67.92 kB / 0.951 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3431, allocations: 7.938 kB / 0.951 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.3433, allocations: 35.95 kB / 0.951 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.3436, allocations: 12 kB / 0.9511 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.3455, allocations: 1.417 MB / 0.9524 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.998e-05/0.3455, allocations: 63.34 kB / 0.9525 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.3456, allocations: 8 kB / 0.9525 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.3456, allocations: 15.44 kB / 0.9525 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of SimCode: time 2.9e-07/0.3456, allocations: 3.938 kB / 0.9525 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.3757, allocations: 2.7 MB / 0.9552 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.61, allocations: 7.438 kB / 0.9552 GB, free: 10.19 MB / 0.7012 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.816633611917496] Failed to read output from testmodel.py, exit status != 0: 11.715612736996263 11.740096909 11.400594721 Calling exit ...