Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.001631/0.001631, 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.001983/0.001983, allocations: 218.9 kB / 23.03 MB, free: 4.945 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.27/3.27, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_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.00201/0.00201, allocations: 60.53 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4061, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002562/0.4087, allocations: 1.299 MB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1541/0.5628, allocations: 115.7 MB / 1.441 GB, free: 12.07 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.868e-05/0.5628, allocations: 3.938 kB / 1.441 GB, free: 12.07 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.5628, allocations: 3.938 kB / 1.441 GB, free: 12.06 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 5.136e-05/0.5629, allocations: 4 kB / 1.441 GB, free: 12.06 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.5633, allocations: 67.88 kB / 1.441 GB, free: 11.99 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 8.055e-05/0.5634, allocations: 11.94 kB / 1.441 GB, free: 11.98 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.5634, allocations: 4 kB / 1.441 GB, free: 11.98 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.309e-05/0.5635, allocations: 15.92 kB / 1.441 GB, free: 11.96 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.5635, allocations: 7.938 kB / 1.441 GB, free: 11.95 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.5635, allocations: 0 / 1.441 GB, free: 11.95 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-05/0.5636, allocations: 19.98 kB / 1.441 GB, free: 11.93 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.5636, allocations: 8 kB / 1.441 GB, free: 11.93 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.5637, allocations: 7.984 kB / 1.441 GB, free: 11.92 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.5638, allocations: 27.91 kB / 1.441 GB, free: 11.89 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5638, allocations: 4 kB / 1.441 GB, free: 11.89 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5638, allocations: 0 / 1.441 GB, free: 11.89 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.5638, allocations: 0 / 1.441 GB, free: 11.89 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004672/0.5643, allocations: 258.3 kB / 1.441 GB, free: 11.6 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.5643, allocations: 12.03 kB / 1.441 GB, free: 11.59 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.516e-05/0.5643, allocations: 4.125 kB / 1.441 GB, free: 11.59 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.5644, allocations: 30.75 kB / 1.441 GB, free: 11.55 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.5644, allocations: 4.938 kB / 1.441 GB, free: 11.54 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.5645, allocations: 102.5 kB / 1.441 GB, free: 11.42 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.271e-05/0.5646, allocations: 63.95 kB / 1.441 GB, free: 11.34 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.5646, allocations: 4.375 kB / 1.441 GB, free: 11.34 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.5647, allocations: 41.81 kB / 1.442 GB, free: 11.29 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.5647, allocations: 0 / 1.442 GB, free: 11.29 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.5647, allocations: 0 / 1.442 GB, free: 11.29 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.5648, allocations: 0 / 1.442 GB, free: 11.29 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.698e-05/0.5648, allocations: 19.92 kB / 1.442 GB, free: 11.27 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.565, allocations: 128.6 kB / 1.442 GB, free: 11.11 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.5651, allocations: 30.61 kB / 1.442 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.5652, allocations: 8.859 kB / 1.442 GB, free: 11.05 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.5653, allocations: 24.06 kB / 1.442 GB, free: 11.03 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.5653, allocations: 34.5 kB / 1.442 GB, free: 10.99 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5653, allocations: 3.938 kB / 1.442 GB, free: 10.98 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0002439/0.5656, allocations: 69.56 kB / 1.442 GB, free: 10.91 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.5656, allocations: 51.41 kB / 1.442 GB, free: 10.85 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.628e-05/0.5657, allocations: 97.84 kB / 1.442 GB, free: 10.74 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.5657, allocations: 25.7 kB / 1.442 GB, free: 10.71 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.5658, allocations: 80.14 kB / 1.442 GB, free: 10.63 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.5658, allocations: 11.95 kB / 1.442 GB, free: 10.62 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.5658, allocations: 13.72 kB / 1.442 GB, free: 10.6 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.566, allocations: 314.8 kB / 1.442 GB, free: 10.28 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.951e-05/0.566, allocations: 11.98 kB / 1.442 GB, free: 10.27 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.821e-05/0.5661, allocations: 4 kB / 1.442 GB, free: 10.27 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.754e-05/0.5662, allocations: 20.84 kB / 1.442 GB, free: 10.24 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5662, allocations: 0 / 1.442 GB, free: 10.24 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001296/0.5663, allocations: 57.56 kB / 1.442 GB, free: 10.18 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5663, allocations: 8 kB / 1.442 GB, free: 10.17 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5663, allocations: 0 / 1.442 GB, free: 10.17 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.5663, allocations: 0 / 1.442 GB, free: 10.17 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.364e-05/0.5664, allocations: 11.98 kB / 1.442 GB, free: 10.16 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.5664, allocations: 0 / 1.442 GB, free: 10.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.476e-05/0.5664, allocations: 7.953 kB / 1.442 GB, free: 10.15 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.5664, allocations: 0 / 1.442 GB, free: 10.15 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.17e-05/0.5665, allocations: 114.4 kB / 1.443 GB, free: 10.03 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.5665, allocations: 3.938 kB / 1.443 GB, free: 10.03 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.5667, allocations: 61.3 kB / 1.443 GB, free: 9.953 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.5667, allocations: 4 kB / 1.443 GB, free: 9.949 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5667, allocations: 0 / 1.443 GB, free: 9.949 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5667, allocations: 0 / 1.443 GB, free: 9.949 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.5668, allocations: 124.8 kB / 1.443 GB, free: 9.785 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5668, allocations: 0 / 1.443 GB, free: 9.785 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.5669, allocations: 7.938 kB / 1.443 GB, free: 9.777 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5669, allocations: 7.938 kB / 1.443 GB, free: 9.77 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.5669, allocations: 0 / 1.443 GB, free: 9.77 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5669, allocations: 0 / 1.443 GB, free: 9.77 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5669, allocations: 0 / 1.443 GB, free: 9.77 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.567, allocations: 81.67 kB / 1.443 GB, free: 9.672 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.5671, allocations: 7.891 kB / 1.443 GB, free: 9.664 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.5671, allocations: 4 kB / 1.443 GB, free: 9.66 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.094e-05/0.5671, allocations: 3.984 kB / 1.443 GB, free: 9.656 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.5672, allocations: 7.969 kB / 1.443 GB, free: 9.648 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.5672, allocations: 4 kB / 1.443 GB, free: 9.645 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.656e-05/0.5672, allocations: 79.28 kB / 1.443 GB, free: 9.566 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5672, allocations: 0 / 1.443 GB, free: 9.566 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0001902/0.5674, allocations: 19.88 kB / 1.443 GB, free: 9.547 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.0005244/0.5679, allocations: 0.6202 MB / 1.444 GB, free: 8.895 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.5681, allocations: 19.92 kB / 1.444 GB, free: 8.875 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5681, allocations: 0 / 1.444 GB, free: 8.875 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 5.287e-05/0.5681, allocations: 15.98 kB / 1.444 GB, free: 8.859 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.5684, allocations: 5.562 kB / 1.444 GB, free: 8.855 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.5688, allocations: 161.8 kB / 1.444 GB, free: 8.656 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.411e-05/0.5689, allocations: 59.36 kB / 1.444 GB, free: 8.578 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.5689, allocations: 7.984 kB / 1.444 GB, free: 8.57 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.5689, allocations: 15.42 kB / 1.444 GB, free: 8.555 MB / 1.139 GB Notification: Performance of SimCode: time 2.7e-07/0.5689, allocations: 0 / 1.444 GB, free: 8.555 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.5904, allocations: 1.565 MB / 1.445 GB, free: 7.145 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.95, allocations: 6.641 kB / 1.445 GB, free: 7.141 MB / 1.139 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.981942620011978] Failed to read output from testmodel.py, exit status != 0: 12.10453792696353 12.120498977 11.55349867 Calling exit ...