Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001371/0.001371, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00148/0.00148, allocations: 219.9 kB / 23.03 MB, free: 4.949 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.301/3.301, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001962/0.001962, allocations: 67.05 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.4318, allocations: 176.1 MB / 1.327 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003581/0.4354, allocations: 1.495 MB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1643/0.5998, allocations: 115.7 MB / 1.441 GB, free: 11.88 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.635e-05/0.5998, allocations: 0 / 1.441 GB, free: 11.88 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 5.101e-05/0.5999, allocations: 3.938 kB / 1.441 GB, free: 11.87 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 7.851e-05/0.6, allocations: 7.938 kB / 1.441 GB, free: 11.86 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.6005, allocations: 71.58 kB / 1.441 GB, free: 11.79 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.6006, allocations: 55.8 kB / 1.441 GB, free: 11.74 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.6007, allocations: 11.98 kB / 1.441 GB, free: 11.73 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.6008, allocations: 15.98 kB / 1.441 GB, free: 11.71 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.61e-05/0.6008, allocations: 31.86 kB / 1.441 GB, free: 11.68 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.6009, allocations: 4 kB / 1.441 GB, free: 11.68 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.601, allocations: 31.92 kB / 1.441 GB, free: 11.64 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.601, allocations: 7.984 kB / 1.441 GB, free: 11.64 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.601, allocations: 19.86 kB / 1.441 GB, free: 11.62 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.6012, allocations: 55.81 kB / 1.441 GB, free: 11.56 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.6012, allocations: 0 / 1.441 GB, free: 11.56 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6012, allocations: 0 / 1.441 GB, free: 11.56 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.6012, allocations: 0 / 1.441 GB, free: 11.56 MB / 1.139 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.0006066/0.6018, allocations: 302.1 kB / 1.442 GB, free: 11.23 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.6019, allocations: 12.03 kB / 1.442 GB, free: 11.22 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.454e-05/0.6019, allocations: 192 / 1.442 GB, free: 11.22 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.602, allocations: 38.67 kB / 1.442 GB, free: 11.18 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.602, allocations: 8.891 kB / 1.442 GB, free: 11.17 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.6021, allocations: 126.4 kB / 1.442 GB, free: 11.02 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.6021, allocations: 4.375 kB / 1.442 GB, free: 11.02 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.6021, allocations: 384 / 1.442 GB, free: 11.02 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.6024, allocations: 81.95 kB / 1.442 GB, free: 10.93 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.6024, allocations: 4 kB / 1.442 GB, free: 10.93 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.6025, allocations: 0 / 1.442 GB, free: 10.93 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.6025, allocations: 4 kB / 1.442 GB, free: 10.92 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.6028, allocations: 71.91 kB / 1.442 GB, free: 10.85 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.6032, allocations: 247.8 kB / 1.442 GB, free: 10.57 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.6034, allocations: 50.55 kB / 1.442 GB, free: 10.51 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.6036, allocations: 40.91 kB / 1.442 GB, free: 10.46 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.6038, allocations: 15.98 kB / 1.442 GB, free: 10.45 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.6038, allocations: 30.56 kB / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.6038, allocations: 0 / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0005969/0.6044, allocations: 141.6 kB / 1.442 GB, free: 10.27 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.6044, allocations: 51.41 kB / 1.443 GB, free: 10.2 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.6046, allocations: 121.8 kB / 1.443 GB, free: 10.07 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.6046, allocations: 25.7 kB / 1.443 GB, free: 10.04 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.6046, allocations: 84.14 kB / 1.443 GB, free: 9.957 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.6047, allocations: 11.91 kB / 1.443 GB, free: 9.945 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.6047, allocations: 17.7 kB / 1.443 GB, free: 9.922 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6049, allocations: 318.8 kB / 1.443 GB, free: 9.602 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.605, allocations: 31.97 kB / 1.443 GB, free: 9.57 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.6051, allocations: 35.95 kB / 1.443 GB, free: 9.535 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.6054, allocations: 68.72 kB / 1.443 GB, free: 9.465 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6054, allocations: 4 kB / 1.443 GB, free: 9.461 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003206/0.6057, allocations: 97.62 kB / 1.443 GB, free: 9.359 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.6057, allocations: 4 kB / 1.443 GB, free: 9.355 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6058, allocations: 0 / 1.443 GB, free: 9.355 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6058, allocations: 0 / 1.443 GB, free: 9.355 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.6059, allocations: 19.98 kB / 1.443 GB, free: 9.336 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.6059, allocations: 3.938 kB / 1.443 GB, free: 9.332 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.821e-05/0.606, allocations: 23.92 kB / 1.443 GB, free: 9.309 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.606, allocations: 0 / 1.443 GB, free: 9.309 MB / 1.139 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.341e-05/0.6061, allocations: 114.3 kB / 1.443 GB, free: 9.188 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.6061, allocations: 0 / 1.443 GB, free: 9.188 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.6065, allocations: 109.5 kB / 1.444 GB, free: 9.062 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6065, allocations: 4 kB / 1.444 GB, free: 9.059 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6065, allocations: 3.938 kB / 1.444 GB, free: 9.055 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6065, allocations: 4 kB / 1.444 GB, free: 9.051 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.6067, allocations: 144.7 kB / 1.444 GB, free: 8.867 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.6067, allocations: 0 / 1.444 GB, free: 8.867 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.646e-05/0.6068, allocations: 15.98 kB / 1.444 GB, free: 8.852 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.6068, allocations: 0 / 1.444 GB, free: 8.852 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.6068, allocations: 0 / 1.444 GB, free: 8.852 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.6068, allocations: 0 / 1.444 GB, free: 8.852 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.6068, allocations: 0 / 1.444 GB, free: 8.852 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.6072, allocations: 211.3 kB / 1.444 GB, free: 8.629 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.6072, allocations: 7.891 kB / 1.444 GB, free: 8.621 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.6073, allocations: 4 kB / 1.444 GB, free: 8.617 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.6074, allocations: 11.98 kB / 1.444 GB, free: 8.605 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.6074, allocations: 11.98 kB / 1.444 GB, free: 8.594 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.6074, allocations: 0 / 1.444 GB, free: 8.594 MB / 1.139 GB Notification: Performance of sorting global known variables: time 6.4e-05/0.6075, allocations: 91.27 kB / 1.444 GB, free: 8.504 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/0.6075, allocations: 0 / 1.444 GB, free: 8.504 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002366/0.6077, allocations: 16 kB / 1.444 GB, free: 8.488 MB / 1.139 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.0007552/0.6085, allocations: 0.74 MB / 1.445 GB, free: 7.723 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.6088, allocations: 71.89 kB / 1.445 GB, free: 7.652 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6088, allocations: 4 kB / 1.445 GB, free: 7.648 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.609, allocations: 39.95 kB / 1.445 GB, free: 7.609 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.6093, allocations: 9.719 kB / 1.445 GB, free: 7.602 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.6114, allocations: 1.43 MB / 1.446 GB, free: 6.094 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.646e-05/0.6115, allocations: 67.34 kB / 1.446 GB, free: 6.008 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 4.314e-05/0.6116, allocations: 7.906 kB / 1.446 GB, free: 6 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.6116, allocations: 23.42 kB / 1.446 GB, free: 5.977 MB / 1.139 GB Notification: Performance of SimCode: time 5.91e-07/0.6116, allocations: 0 / 1.446 GB, free: 5.977 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.6387, allocations: 2.319 MB / 1.449 GB, free: 3.82 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.02, allocations: 11.25 kB / 1.449 GB, free: 3.812 MB / 1.139 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.00613962695934] Failed to read output from testmodel.py, exit status != 0: 12.192350398050621 12.221005 11.614695677 Calling exit ...