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.001979/0.001979, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002369/0.002369, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.607/1.607, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.043/3.043, allocations: 0.49 GB / 0.7923 GB, free: 1.277 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.002361/0.002361, allocations: 67.91 kB / 1.149 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.063, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002738/1.066, allocations: 1.507 MB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2213/1.287, allocations: 135.3 MB / 1.455 GB, free: 5.312 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.46e-05/1.287, allocations: 0 / 1.455 GB, free: 5.312 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 5.382e-05/1.287, allocations: 6.969 kB / 1.455 GB, free: 5.309 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 7.106e-05/1.288, allocations: 6.234 kB / 1.455 GB, free: 5.305 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/1.288, allocations: 67.66 kB / 1.455 GB, free: 5.273 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/1.288, allocations: 56 kB / 1.455 GB, free: 5.246 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/1.288, allocations: 13.44 kB / 1.455 GB, free: 5.238 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/1.288, allocations: 20.55 kB / 1.455 GB, free: 5.23 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.986e-05/1.289, allocations: 24.38 kB / 1.455 GB, free: 5.219 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/1.289, allocations: 8.406 kB / 1.455 GB, free: 5.215 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/1.289, allocations: 23.22 kB / 1.455 GB, free: 5.207 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/1.289, allocations: 11.34 kB / 1.455 GB, free: 5.199 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/1.289, allocations: 23.41 kB / 1.455 GB, free: 5.184 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/1.289, allocations: 66.36 kB / 1.455 GB, free: 5.152 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.289, allocations: 0 / 1.455 GB, free: 5.152 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.104e-06/1.289, allocations: 0 / 1.455 GB, free: 5.152 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.516e-06/1.289, allocations: 1.094 kB / 1.455 GB, free: 5.152 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.0006833/1.29, allocations: 377.5 kB / 1.456 GB, free: 4.773 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/1.29, allocations: 13.17 kB / 1.456 GB, free: 4.77 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.386e-05/1.29, allocations: 1.219 kB / 1.456 GB, free: 4.77 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/1.29, allocations: 33.55 kB / 1.456 GB, free: 4.73 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/1.29, allocations: 7.609 kB / 1.456 GB, free: 4.727 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/1.29, allocations: 177 kB / 1.456 GB, free: 4.52 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/1.29, allocations: 5.938 kB / 1.456 GB, free: 4.516 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/1.29, allocations: 1.938 kB / 1.456 GB, free: 4.516 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/1.29, allocations: 84.44 kB / 1.456 GB, free: 4.465 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.29, allocations: 3.938 kB / 1.456 GB, free: 4.461 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/1.29, allocations: 0.7031 kB / 1.456 GB, free: 4.461 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.29, allocations: 1.531 kB / 1.456 GB, free: 4.461 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/1.291, allocations: 64.94 kB / 1.456 GB, free: 4.453 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/1.291, allocations: 294.8 kB / 1.456 GB, free: 4.152 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/1.291, allocations: 50.31 kB / 1.456 GB, free: 4.125 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/1.292, allocations: 41.39 kB / 1.456 GB, free: 4.109 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/1.292, allocations: 89.36 kB / 1.457 GB, free: 4.016 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/1.292, allocations: 35.69 kB / 1.457 GB, free: 3.973 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/1.292, allocations: 0 / 1.457 GB, free: 3.973 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0006263/1.292, allocations: 130.5 kB / 1.457 GB, free: 3.926 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/1.292, allocations: 51.41 kB / 1.457 GB, free: 3.863 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/1.293, allocations: 121.4 kB / 1.457 GB, free: 3.754 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/1.293, allocations: 26.83 kB / 1.457 GB, free: 3.723 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/1.293, allocations: 87.69 kB / 1.457 GB, free: 3.637 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/1.293, allocations: 13.45 kB / 1.457 GB, free: 3.625 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/1.293, allocations: 18.27 kB / 1.457 GB, free: 3.605 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.293, allocations: 317.9 kB / 1.457 GB, free: 3.289 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/1.293, allocations: 34.75 kB / 1.457 GB, free: 3.281 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/1.293, allocations: 32.34 kB / 1.457 GB, free: 3.277 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/1.294, allocations: 70.14 kB / 1.457 GB, free: 3.258 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.294, allocations: 0 / 1.457 GB, free: 3.258 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003652/1.294, allocations: 103.7 kB / 1.458 GB, free: 3.211 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/1.294, allocations: 6.094 kB / 1.458 GB, free: 3.211 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/1.294, allocations: 0.6094 kB / 1.458 GB, free: 3.211 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/1.294, allocations: 3.938 kB / 1.458 GB, free: 3.207 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/1.294, allocations: 15.67 kB / 1.458 GB, free: 3.207 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/1.294, allocations: 0 / 1.458 GB, free: 3.207 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.064e-05/1.294, allocations: 17.53 kB / 1.458 GB, free: 3.203 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/1.294, allocations: 4 kB / 1.458 GB, free: 3.199 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 0.000104/1.294, allocations: 112.9 kB / 1.458 GB, free: 3.082 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/1.294, allocations: 6.922 kB / 1.458 GB, free: 3.078 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/1.295, allocations: 109.4 kB / 1.458 GB, free: 3.016 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.295, allocations: 5.438 kB / 1.458 GB, free: 3.012 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.295, allocations: 8.656 kB / 1.458 GB, free: 3.004 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.295, allocations: 384 / 1.458 GB, free: 3.004 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/1.295, allocations: 173.6 kB / 1.458 GB, free: 2.805 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.295, allocations: 0 / 1.458 GB, free: 2.805 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/1.295, allocations: 19.91 kB / 1.458 GB, free: 2.801 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.295, allocations: 1.375 kB / 1.458 GB, free: 2.801 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/1.295, allocations: 0 / 1.458 GB, free: 2.801 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.295, allocations: 1.344 kB / 1.458 GB, free: 2.801 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/1.295, allocations: 4.641 kB / 1.458 GB, free: 2.797 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/1.295, allocations: 202.9 kB / 1.458 GB, free: 2.645 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/1.296, allocations: 82.69 kB / 1.458 GB, free: 2.547 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/1.296, allocations: 1.891 kB / 1.458 GB, free: 2.547 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/1.296, allocations: 15.72 kB / 1.458 GB, free: 2.543 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/1.296, allocations: 2.875 kB / 1.458 GB, free: 2.543 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/1.296, allocations: 6.547 kB / 1.458 GB, free: 2.539 MB / 1.139 GB Notification: Performance of sorting global known variables: time 6.727e-05/1.296, allocations: 90.5 kB / 1.458 GB, free: 2.461 MB / 1.139 GB Notification: Performance of sort global known variables: time 6.1e-08/1.296, allocations: 0.9375 kB / 1.458 GB, free: 2.461 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002559/1.296, allocations: 16.98 kB / 1.458 GB, free: 2.457 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.0008528/1.297, allocations: 0.7343 MB / 1.459 GB, free: 1.785 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003767/1.297, allocations: 71.16 kB / 1.459 GB, free: 1.773 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/1.297, allocations: 4 kB / 1.459 GB, free: 1.77 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/1.297, allocations: 37.64 kB / 1.459 GB, free: 1.762 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/1.298, allocations: 8.953 kB / 1.459 GB, free: 1.762 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/1.3, allocations: 1.428 MB / 1.461 GB, free: 0.5312 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/1.3, allocations: 0.6895 MB / 1.461 GB, free: 15.83 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 5.037e-05/1.3, allocations: 4.234 kB / 1.461 GB, free: 15.83 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/1.301, allocations: 23.47 kB / 1.461 GB, free: 15.81 MB / 1.154 GB Notification: Performance of SimCode: time 4.91e-07/1.301, allocations: 4 kB / 1.461 GB, free: 15.8 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/1.323, allocations: 2.116 MB / 1.463 GB, free: 15.21 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.509/9.832, allocations: 14.03 kB / 1.463 GB, free: 15.2 MB / 1.154 GB " [Timeout remaining time 290] (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: 17.15149239799939] Failed to read output from testmodel.py, exit status != 0: 9.959012357052416 9.97301823 8.680933573 Calling exit ...