Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001619/0.001619, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001987/0.001987, allocations: 219.6 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.294/3.294, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_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.003122/0.003122, allocations: 59.89 kB / 1.171 GB, free: 19.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4496, allocations: 179 MB / 1.345 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002558/0.4522, allocations: 1.306 MB / 1.347 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1716/0.6238, allocations: 135.2 MB / 1.479 GB, free: 7.461 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.6238, allocations: 4 kB / 1.479 GB, free: 7.457 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.6238, allocations: 7.922 kB / 1.479 GB, free: 7.449 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.6239, allocations: 7.922 kB / 1.479 GB, free: 7.441 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.6243, allocations: 59.95 kB / 1.479 GB, free: 7.383 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 9.83e-05/0.6244, allocations: 23.92 kB / 1.479 GB, free: 7.359 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.6245, allocations: 0 / 1.479 GB, free: 7.359 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 5.151e-05/0.6245, allocations: 11.94 kB / 1.479 GB, free: 7.348 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.6246, allocations: 11.92 kB / 1.479 GB, free: 7.336 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.6246, allocations: 4 kB / 1.479 GB, free: 7.332 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.6247, allocations: 19.98 kB / 1.479 GB, free: 7.312 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.6247, allocations: 3.984 kB / 1.479 GB, free: 7.309 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.6248, allocations: 7.938 kB / 1.479 GB, free: 7.301 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.6249, allocations: 19.98 kB / 1.479 GB, free: 7.281 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6249, allocations: 4 kB / 1.479 GB, free: 7.277 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6249, allocations: 0 / 1.479 GB, free: 7.277 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.6249, allocations: 0 / 1.479 GB, free: 7.277 MB / 1.17 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.0004308/0.6253, allocations: 262.2 kB / 1.479 GB, free: 6.988 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.6254, allocations: 19.95 kB / 1.479 GB, free: 6.969 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.678e-05/0.6254, allocations: 192 / 1.479 GB, free: 6.969 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.6254, allocations: 30.75 kB / 1.479 GB, free: 6.93 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.6255, allocations: 0.9375 kB / 1.479 GB, free: 6.93 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.6256, allocations: 114.5 kB / 1.479 GB, free: 6.793 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.6257, allocations: 59.97 kB / 1.479 GB, free: 6.723 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.6257, allocations: 384 / 1.479 GB, free: 6.723 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.6259, allocations: 41.8 kB / 1.479 GB, free: 6.676 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.6259, allocations: 4 kB / 1.479 GB, free: 6.672 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.6259, allocations: 4 kB / 1.479 GB, free: 6.668 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.6259, allocations: 0 / 1.479 GB, free: 6.668 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.129e-05/0.626, allocations: 15.92 kB / 1.479 GB, free: 6.652 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.6262, allocations: 128.7 kB / 1.479 GB, free: 6.484 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.6263, allocations: 34.61 kB / 1.479 GB, free: 6.441 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.21e-05/0.6263, allocations: 8.859 kB / 1.48 GB, free: 6.43 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.6265, allocations: 12.08 kB / 1.48 GB, free: 6.418 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.6265, allocations: 38.5 kB / 1.48 GB, free: 6.371 MB / 1.17 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.6265, allocations: 4 kB / 1.48 GB, free: 6.367 MB / 1.17 GB Notification: Performance of matching and sorting (n=3): time 0.0002548/0.6268, allocations: 65.55 kB / 1.48 GB, free: 6.297 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.6268, allocations: 51.41 kB / 1.48 GB, free: 6.234 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.6269, allocations: 93.86 kB / 1.48 GB, free: 6.133 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.6269, allocations: 29.7 kB / 1.48 GB, free: 6.098 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.627, allocations: 84.12 kB / 1.48 GB, free: 6.012 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.627, allocations: 7.953 kB / 1.48 GB, free: 6.004 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.627, allocations: 13.67 kB / 1.48 GB, free: 5.984 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6272, allocations: 322.8 kB / 1.48 GB, free: 5.66 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.773e-05/0.6272, allocations: 7.984 kB / 1.48 GB, free: 5.652 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.72e-05/0.6272, allocations: 4 kB / 1.48 GB, free: 5.648 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.955e-05/0.6273, allocations: 20.84 kB / 1.48 GB, free: 5.625 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6273, allocations: 0 / 1.48 GB, free: 5.625 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001316/0.6275, allocations: 57.56 kB / 1.48 GB, free: 5.562 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.6275, allocations: 4 kB / 1.48 GB, free: 5.559 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.6275, allocations: 0 / 1.48 GB, free: 5.559 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.6275, allocations: 8 kB / 1.48 GB, free: 5.551 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.6276, allocations: 11.92 kB / 1.48 GB, free: 5.539 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.6276, allocations: 0 / 1.48 GB, free: 5.539 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.6276, allocations: 0 / 1.48 GB, free: 5.539 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.6276, allocations: 4 kB / 1.48 GB, free: 5.535 MB / 1.17 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 8.911e-05/0.6277, allocations: 110.5 kB / 1.48 GB, free: 5.418 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.6277, allocations: 3.938 kB / 1.48 GB, free: 5.414 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.6279, allocations: 73.8 kB / 1.48 GB, free: 5.332 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6279, allocations: 48 / 1.48 GB, free: 5.332 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.6279, allocations: 3.984 kB / 1.48 GB, free: 5.328 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6279, allocations: 0 / 1.48 GB, free: 5.328 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.628, allocations: 128.7 kB / 1.481 GB, free: 5.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.628, allocations: 0 / 1.481 GB, free: 5.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.6281, allocations: 7.938 kB / 1.481 GB, free: 5.152 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.6281, allocations: 4 kB / 1.481 GB, free: 5.148 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.6281, allocations: 3.984 kB / 1.481 GB, free: 5.145 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6281, allocations: 0 / 1.481 GB, free: 5.145 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6281, allocations: 0 / 1.481 GB, free: 5.145 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.6283, allocations: 81.08 kB / 1.481 GB, free: 5.047 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.6283, allocations: 7.922 kB / 1.481 GB, free: 5.039 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.6283, allocations: 0 / 1.481 GB, free: 5.039 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.627e-05/0.6283, allocations: 4 kB / 1.481 GB, free: 5.035 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.6284, allocations: 7.938 kB / 1.481 GB, free: 5.027 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.6284, allocations: 0 / 1.481 GB, free: 5.027 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.736e-05/0.6284, allocations: 83.27 kB / 1.481 GB, free: 4.945 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6284, allocations: 4 kB / 1.481 GB, free: 4.941 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0001937/0.6286, allocations: 11.94 kB / 1.481 GB, free: 4.93 MB / 1.17 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.0005988/0.6292, allocations: 0.6189 MB / 1.481 GB, free: 4.281 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.6294, allocations: 27.92 kB / 1.481 GB, free: 4.254 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6294, allocations: 0 / 1.481 GB, free: 4.254 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 4.841e-05/0.6294, allocations: 11.98 kB / 1.481 GB, free: 4.242 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.6297, allocations: 4 kB / 1.481 GB, free: 4.238 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.6302, allocations: 157.8 kB / 1.482 GB, free: 4.043 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.6305, allocations: 0.6766 MB / 1.482 GB, free: 3.34 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 4.111e-05/0.6305, allocations: 15.92 kB / 1.482 GB, free: 3.324 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.6306, allocations: 7.438 kB / 1.482 GB, free: 3.32 MB / 1.17 GB Notification: Performance of SimCode: time 3.2e-07/0.6306, allocations: 3.938 kB / 1.482 GB, free: 3.316 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.6582, allocations: 1.511 MB / 1.484 GB, free: 1.957 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.79, allocations: 8.734 kB / 1.484 GB, free: 1.953 MB / 1.17 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.947865859954618] Failed to read output from testmodel.py, exit status != 0: 11.949936014949344 11.963968596 11.335798925 Calling exit ...