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.001577/0.001577, 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.001923/0.001923, allocations: 216.7 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.318/3.318, allocations: 0.49 GB / 0.7959 GB, free: 33.41 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.00207/0.00207, allocations: 70.75 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4322, allocations: 176.1 MB / 1.327 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003242/0.4354, allocations: 1.518 MB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1727/0.6081, allocations: 135.3 MB / 1.46 GB, free: 8.676 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.6082, allocations: 0 / 1.46 GB, free: 8.676 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.44e-05/0.6082, allocations: 11.86 kB / 1.46 GB, free: 8.664 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.6083, allocations: 15.86 kB / 1.46 GB, free: 8.648 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.6087, allocations: 63.66 kB / 1.46 GB, free: 8.586 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.6088, allocations: 59.72 kB / 1.46 GB, free: 8.527 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.6089, allocations: 12 kB / 1.46 GB, free: 8.516 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.869e-05/0.6089, allocations: 23.92 kB / 1.46 GB, free: 8.492 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.609, allocations: 23.91 kB / 1.46 GB, free: 8.469 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.609, allocations: 8 kB / 1.46 GB, free: 8.461 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.6091, allocations: 23.8 kB / 1.46 GB, free: 8.441 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.6091, allocations: 19.92 kB / 1.46 GB, free: 8.422 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.6092, allocations: 15.88 kB / 1.46 GB, free: 8.406 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.6093, allocations: 55.81 kB / 1.461 GB, free: 8.352 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6093, allocations: 0 / 1.461 GB, free: 8.352 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6093, allocations: 0 / 1.461 GB, free: 8.352 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.6094, allocations: 4 kB / 1.461 GB, free: 8.348 MB / 1.154 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.0005517/0.6099, allocations: 307.4 kB / 1.461 GB, free: 8.016 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.61, allocations: 12.03 kB / 1.461 GB, free: 8.004 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.407e-05/0.61, allocations: 192 / 1.461 GB, free: 8.004 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.61, allocations: 34.75 kB / 1.461 GB, free: 7.961 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.61, allocations: 8.891 kB / 1.461 GB, free: 7.953 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.6102, allocations: 114.4 kB / 1.461 GB, free: 7.816 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.6102, allocations: 4.375 kB / 1.461 GB, free: 7.812 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.6102, allocations: 4.375 kB / 1.461 GB, free: 7.809 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.6104, allocations: 81.94 kB / 1.461 GB, free: 7.723 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.6105, allocations: 0 / 1.461 GB, free: 7.723 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.6105, allocations: 7.938 kB / 1.461 GB, free: 7.715 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.6105, allocations: 4 kB / 1.461 GB, free: 7.711 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.6108, allocations: 67.92 kB / 1.461 GB, free: 7.645 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.6112, allocations: 259.8 kB / 1.461 GB, free: 7.348 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.6114, allocations: 50.55 kB / 1.461 GB, free: 7.289 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.6115, allocations: 40.91 kB / 1.461 GB, free: 7.246 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.6117, allocations: 11.98 kB / 1.461 GB, free: 7.234 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.6117, allocations: 34.56 kB / 1.462 GB, free: 7.191 MB / 1.154 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.6117, allocations: 0 / 1.462 GB, free: 7.191 MB / 1.154 GB Notification: Performance of matching and sorting (n=3): time 0.0005576/0.6122, allocations: 137.5 kB / 1.462 GB, free: 7.051 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.6123, allocations: 51.41 kB / 1.462 GB, free: 6.988 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.6124, allocations: 117.8 kB / 1.462 GB, free: 6.863 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.6124, allocations: 29.7 kB / 1.462 GB, free: 6.828 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.6125, allocations: 88.08 kB / 1.462 GB, free: 6.738 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.6125, allocations: 11.91 kB / 1.462 GB, free: 6.727 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.6125, allocations: 17.7 kB / 1.462 GB, free: 6.703 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6127, allocations: 322.8 kB / 1.462 GB, free: 6.379 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.6128, allocations: 27.97 kB / 1.462 GB, free: 6.352 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.6129, allocations: 35.95 kB / 1.462 GB, free: 6.316 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.6132, allocations: 68.78 kB / 1.462 GB, free: 6.246 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6132, allocations: 0 / 1.462 GB, free: 6.246 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000315/0.6135, allocations: 101.8 kB / 1.462 GB, free: 6.141 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.6135, allocations: 5.875 kB / 1.463 GB, free: 6.137 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.6135, allocations: 0 / 1.463 GB, free: 6.137 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.6136, allocations: 0 / 1.463 GB, free: 6.137 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.6137, allocations: 20.03 kB / 1.463 GB, free: 6.117 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6137, allocations: 3.984 kB / 1.463 GB, free: 6.113 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.836e-05/0.6138, allocations: 19.92 kB / 1.463 GB, free: 6.094 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.6138, allocations: 0 / 1.463 GB, free: 6.094 MB / 1.154 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.662e-05/0.6139, allocations: 122.3 kB / 1.463 GB, free: 5.965 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.6139, allocations: 0 / 1.463 GB, free: 5.965 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.6143, allocations: 113.5 kB / 1.463 GB, free: 5.836 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6143, allocations: 0 / 1.463 GB, free: 5.836 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6143, allocations: 3.938 kB / 1.463 GB, free: 5.832 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.6143, allocations: 0 / 1.463 GB, free: 5.832 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.6145, allocations: 152.7 kB / 1.463 GB, free: 5.641 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6145, allocations: 0 / 1.463 GB, free: 5.641 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.909e-05/0.6145, allocations: 11.98 kB / 1.463 GB, free: 5.629 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6145, allocations: 4 kB / 1.463 GB, free: 5.625 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.6146, allocations: 0 / 1.463 GB, free: 5.625 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6146, allocations: 4 kB / 1.463 GB, free: 5.621 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6146, allocations: 0 / 1.463 GB, free: 5.621 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.6149, allocations: 199.4 kB / 1.463 GB, free: 5.41 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.6149, allocations: 11.89 kB / 1.463 GB, free: 5.398 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.615, allocations: 0 / 1.463 GB, free: 5.398 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.6151, allocations: 19.92 kB / 1.463 GB, free: 5.379 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.6151, allocations: 11.98 kB / 1.463 GB, free: 5.367 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.6151, allocations: 4 kB / 1.463 GB, free: 5.363 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.552e-05/0.6152, allocations: 91.27 kB / 1.463 GB, free: 5.273 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.6152, allocations: 0 / 1.463 GB, free: 5.273 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002458/0.6154, allocations: 12 kB / 1.463 GB, free: 5.262 MB / 1.154 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.0007278/0.6162, allocations: 0.7397 MB / 1.464 GB, free: 4.496 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.6165, allocations: 71.86 kB / 1.464 GB, free: 4.426 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6165, allocations: 3.938 kB / 1.464 GB, free: 4.422 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.6166, allocations: 35.97 kB / 1.464 GB, free: 4.387 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.617, allocations: 11.98 kB / 1.464 GB, free: 4.375 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.6189, allocations: 1.419 MB / 1.465 GB, free: 2.875 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.6192, allocations: 0.6807 MB / 1.466 GB, free: 2.168 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 3.768e-05/0.6193, allocations: 11.98 kB / 1.466 GB, free: 2.156 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.083e-05/0.6193, allocations: 19.77 kB / 1.466 GB, free: 2.137 MB / 1.154 GB Notification: Performance of SimCode: time 4.01e-07/0.6193, allocations: 3.938 kB / 1.466 GB, free: 2.133 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.6416, allocations: 2.209 MB / 1.468 GB, free: 84 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.84, allocations: 10.39 kB / 1.468 GB, free: 76 kB / 1.154 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.032367466017604] Failed to read output from testmodel.py, exit status != 0: 12.001424116024282 12.019922442 11.407280465 Calling exit ...