Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001456/0.001456, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001837/0.001837, allocations: 217.8 kB / 23.04 MB, free: 5.074 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7715 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_11_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.002352/0.002352, allocations: 64.88 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.426, allocations: 170 MB / 1.284 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003606/0.4296, allocations: 1.533 MB / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1909/0.6205, allocations: 135.3 MB / 1.418 GB, free: 2.488 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.112e-05/0.6206, allocations: 0 / 1.418 GB, free: 2.488 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 4.554e-05/0.6206, allocations: 3.938 kB / 1.418 GB, free: 2.484 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 7.784e-05/0.6207, allocations: 11.88 kB / 1.418 GB, free: 2.473 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.6212, allocations: 63.23 kB / 1.418 GB, free: 2.414 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.6213, allocations: 63.78 kB / 1.418 GB, free: 2.352 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.6215, allocations: 15.97 kB / 1.418 GB, free: 2.336 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 7.715e-05/0.6216, allocations: 15.83 kB / 1.418 GB, free: 2.324 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.6216, allocations: 31.84 kB / 1.418 GB, free: 2.293 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.6216, allocations: 4 kB / 1.418 GB, free: 2.289 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.6218, allocations: 23.92 kB / 1.418 GB, free: 2.266 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.6218, allocations: 11.94 kB / 1.418 GB, free: 2.254 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.6219, allocations: 23.86 kB / 1.418 GB, free: 2.23 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.6221, allocations: 59.8 kB / 1.418 GB, free: 2.172 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6221, allocations: 0 / 1.418 GB, free: 2.172 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6221, allocations: 4 kB / 1.418 GB, free: 2.168 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.6221, allocations: 0 / 1.418 GB, free: 2.168 MB / 1.107 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.0006217/0.6227, allocations: 294.1 kB / 1.418 GB, free: 1.848 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.6227, allocations: 15.97 kB / 1.418 GB, free: 1.832 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.323e-05/0.6228, allocations: 192 / 1.418 GB, free: 1.832 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.6228, allocations: 38.73 kB / 1.418 GB, free: 1.785 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.6228, allocations: 8.891 kB / 1.418 GB, free: 1.777 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.623, allocations: 106.5 kB / 1.418 GB, free: 1.648 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.623, allocations: 8.375 kB / 1.418 GB, free: 1.641 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.623, allocations: 12.31 kB / 1.418 GB, free: 1.629 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.6233, allocations: 73.97 kB / 1.419 GB, free: 1.551 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.6233, allocations: 3.984 kB / 1.419 GB, free: 1.547 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.6233, allocations: 0 / 1.419 GB, free: 1.547 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6233, allocations: 0 / 1.419 GB, free: 1.547 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.6236, allocations: 71.92 kB / 1.419 GB, free: 1.477 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.6241, allocations: 255.8 kB / 1.419 GB, free: 1.184 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.6243, allocations: 62.45 kB / 1.419 GB, free: 1.113 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.6245, allocations: 36.92 kB / 1.419 GB, free: 1.074 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.6246, allocations: 15.98 kB / 1.419 GB, free: 1.059 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.6246, allocations: 34.56 kB / 1.419 GB, free: 1.016 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6246, allocations: 0 / 1.419 GB, free: 1.016 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0005782/0.6252, allocations: 137.5 kB / 1.419 GB, free: 0.875 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.6253, allocations: 51.41 kB / 1.419 GB, free: 0.8125 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.6254, allocations: 117.8 kB / 1.419 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.6254, allocations: 25.7 kB / 1.419 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.6255, allocations: 88.12 kB / 1.419 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.6255, allocations: 11.91 kB / 1.419 GB, free: 0.5547 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.6255, allocations: 13.72 kB / 1.419 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6257, allocations: 326.8 kB / 1.42 GB, free: 212 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.6258, allocations: 27.97 kB / 1.42 GB, free: 184 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.626, allocations: 31.97 kB / 1.42 GB, free: 152 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.6262, allocations: 72.72 kB / 1.42 GB, free: 76 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6262, allocations: 0 / 1.42 GB, free: 76 kB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003589/0.6266, allocations: 101.7 kB / 1.42 GB, free: 15.96 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.6266, allocations: 7.984 kB / 1.42 GB, free: 15.96 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6266, allocations: 0 / 1.42 GB, free: 15.96 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.6266, allocations: 3.938 kB / 1.42 GB, free: 15.95 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.6268, allocations: 23.98 kB / 1.42 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.6268, allocations: 0 / 1.42 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.289e-05/0.6268, allocations: 15.94 kB / 1.42 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.6269, allocations: 0 / 1.42 GB, free: 15.91 MB / 1.123 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.41e-05/0.627, allocations: 113.8 kB / 1.42 GB, free: 15.79 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.627, allocations: 0 / 1.42 GB, free: 15.79 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.6274, allocations: 117.5 kB / 1.42 GB, free: 15.67 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.6274, allocations: 0 / 1.42 GB, free: 15.67 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6274, allocations: 0 / 1.42 GB, free: 15.67 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.6274, allocations: 4 kB / 1.42 GB, free: 15.66 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.6276, allocations: 144.6 kB / 1.42 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.6276, allocations: 0 / 1.42 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.955e-05/0.6277, allocations: 19.97 kB / 1.42 GB, free: 15.46 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6277, allocations: 0 / 1.42 GB, free: 15.46 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.6277, allocations: 8 kB / 1.42 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6277, allocations: 0 / 1.42 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6277, allocations: 0 / 1.42 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.6281, allocations: 191.8 kB / 1.421 GB, free: 15.25 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.6281, allocations: 11.94 kB / 1.421 GB, free: 15.24 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.6281, allocations: 8 kB / 1.421 GB, free: 15.23 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.6282, allocations: 15.98 kB / 1.421 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.6283, allocations: 8.016 kB / 1.421 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.6283, allocations: 4 kB / 1.421 GB, free: 15.2 MB / 1.123 GB Notification: Performance of sorting global known variables: time 6.625e-05/0.6284, allocations: 91.22 kB / 1.421 GB, free: 15.11 MB / 1.123 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6284, allocations: 0 / 1.421 GB, free: 15.11 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002429/0.6286, allocations: 15.98 kB / 1.421 GB, free: 15.1 MB / 1.123 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.0007942/0.6294, allocations: 0.7358 MB / 1.421 GB, free: 14.34 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004241/0.6298, allocations: 67.92 kB / 1.422 GB, free: 14.27 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6298, allocations: 7.938 kB / 1.422 GB, free: 14.26 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.63, allocations: 39.95 kB / 1.422 GB, free: 14.22 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.6304, allocations: 15.86 kB / 1.422 GB, free: 14.21 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.6325, allocations: 1.419 MB / 1.423 GB, free: 12.71 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.6328, allocations: 0.6807 MB / 1.424 GB, free: 12 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 3.68e-05/0.6329, allocations: 8 kB / 1.424 GB, free: 11.99 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.6329, allocations: 19.44 kB / 1.424 GB, free: 11.97 MB / 1.123 GB Notification: Performance of SimCode: time 5.81e-07/0.6329, allocations: 3.938 kB / 1.424 GB, free: 11.97 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.658, allocations: 2.211 MB / 1.426 GB, free: 9.918 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.84, allocations: 9.5 kB / 1.426 GB, free: 9.914 MB / 1.123 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.059473483008333] Failed to read output from testmodel.py, exit status != 0: 12.731338037992828 12.014962462 11.38918706 Calling exit ...