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.001652/0.001652, allocations: 117.4 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.001907/0.001907, allocations: 214.3 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.485/1.485, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.981/2.981, allocations: 0.49 GB / 0.7923 GB, free: 1.27 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.002045/0.002045, allocations: 59.91 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002249/1.055, allocations: 1.302 MB / 1.323 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1924/1.248, allocations: 135.2 MB / 1.455 GB, free: 5.465 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/1.248, allocations: 0 / 1.455 GB, free: 5.465 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/1.248, allocations: 1.719 kB / 1.455 GB, free: 5.465 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 5.584e-05/1.248, allocations: 5.688 kB / 1.455 GB, free: 5.461 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/1.248, allocations: 57.7 kB / 1.455 GB, free: 5.438 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.551e-05/1.248, allocations: 28.78 kB / 1.455 GB, free: 5.426 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/1.248, allocations: 2.312 kB / 1.455 GB, free: 5.426 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/1.248, allocations: 11 kB / 1.455 GB, free: 5.422 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/1.248, allocations: 14.05 kB / 1.455 GB, free: 5.414 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/1.248, allocations: 1.156 kB / 1.455 GB, free: 5.414 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.789e-05/1.248, allocations: 23.16 kB / 1.455 GB, free: 5.402 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/1.248, allocations: 1.406 kB / 1.455 GB, free: 5.402 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/1.248, allocations: 9.312 kB / 1.455 GB, free: 5.398 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/1.249, allocations: 21.19 kB / 1.455 GB, free: 5.395 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/1.249, allocations: 0 / 1.455 GB, free: 5.395 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.342e-06/1.249, allocations: 1.062 kB / 1.455 GB, free: 5.395 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.051e-05/1.249, allocations: 0 / 1.455 GB, free: 5.395 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.0004576/1.249, allocations: 341.8 kB / 1.455 GB, free: 5.027 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.249, allocations: 14.48 kB / 1.455 GB, free: 5.023 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.218e-05/1.249, allocations: 192 / 1.455 GB, free: 5.023 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/1.249, allocations: 36.22 kB / 1.455 GB, free: 4.98 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/1.249, allocations: 2.812 kB / 1.455 GB, free: 4.98 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/1.249, allocations: 162.3 kB / 1.455 GB, free: 4.785 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.045e-05/1.249, allocations: 30.52 kB / 1.456 GB, free: 4.754 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/1.249, allocations: 1.469 kB / 1.456 GB, free: 4.754 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/1.249, allocations: 48.12 kB / 1.456 GB, free: 4.711 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/1.249, allocations: 3.938 kB / 1.456 GB, free: 4.707 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/1.249, allocations: 1.281 kB / 1.456 GB, free: 4.707 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/1.249, allocations: 0 / 1.456 GB, free: 4.707 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.61e-05/1.25, allocations: 11.05 kB / 1.456 GB, free: 4.707 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/1.25, allocations: 156.3 kB / 1.456 GB, free: 4.512 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/1.25, allocations: 30.06 kB / 1.456 GB, free: 4.484 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/1.25, allocations: 20.22 kB / 1.456 GB, free: 4.469 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/1.25, allocations: 91.86 kB / 1.456 GB, free: 4.371 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/1.25, allocations: 36.58 kB / 1.456 GB, free: 4.328 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.25, allocations: 0 / 1.456 GB, free: 4.328 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0002366/1.25, allocations: 58.5 kB / 1.456 GB, free: 4.289 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/1.25, allocations: 56.94 kB / 1.456 GB, free: 4.223 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/1.25, allocations: 106.2 kB / 1.456 GB, free: 4.113 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/1.25, allocations: 30.73 kB / 1.456 GB, free: 4.078 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/1.25, allocations: 80.14 kB / 1.456 GB, free: 3.996 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/1.251, allocations: 5.953 kB / 1.456 GB, free: 3.992 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/1.251, allocations: 18.8 kB / 1.456 GB, free: 3.973 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.251, allocations: 312.7 kB / 1.457 GB, free: 3.66 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-05/1.251, allocations: 5.047 kB / 1.457 GB, free: 3.66 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/1.251, allocations: 11.16 kB / 1.457 GB, free: 3.656 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.505e-05/1.251, allocations: 26.56 kB / 1.457 GB, free: 3.641 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.251, allocations: 0 / 1.457 GB, free: 3.641 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001359/1.251, allocations: 56.92 kB / 1.457 GB, free: 3.598 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/1.251, allocations: 7.75 kB / 1.457 GB, free: 3.598 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/1.251, allocations: 0 / 1.457 GB, free: 3.598 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/1.251, allocations: 0.5156 kB / 1.457 GB, free: 3.598 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.455e-05/1.251, allocations: 6.828 kB / 1.457 GB, free: 3.598 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/1.251, allocations: 5.312 kB / 1.457 GB, free: 3.594 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/1.251, allocations: 5.75 kB / 1.457 GB, free: 3.59 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/1.251, allocations: 5.438 kB / 1.457 GB, free: 3.586 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.0001057/1.251, allocations: 110 kB / 1.457 GB, free: 3.473 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/1.251, allocations: 6.031 kB / 1.457 GB, free: 3.469 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/1.251, allocations: 56.64 kB / 1.457 GB, free: 3.422 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/1.251, allocations: 1.344 kB / 1.457 GB, free: 3.422 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.251, allocations: 0.75 kB / 1.457 GB, free: 3.422 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/1.251, allocations: 4 kB / 1.457 GB, free: 3.418 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/1.252, allocations: 153.8 kB / 1.457 GB, free: 3.227 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/1.252, allocations: 0 / 1.457 GB, free: 3.227 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/1.252, allocations: 14.81 kB / 1.457 GB, free: 3.219 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.252, allocations: 0 / 1.457 GB, free: 3.219 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/1.252, allocations: 2.156 kB / 1.457 GB, free: 3.219 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.252, allocations: 0 / 1.457 GB, free: 3.219 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.252, allocations: 3.938 kB / 1.457 GB, free: 3.215 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/1.252, allocations: 82.41 kB / 1.457 GB, free: 3.137 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/1.252, allocations: 88.91 kB / 1.457 GB, free: 3.035 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/1.252, allocations: 0.75 kB / 1.457 GB, free: 3.035 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.955e-05/1.252, allocations: 2.188 kB / 1.457 GB, free: 3.035 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/1.252, allocations: 7.781 kB / 1.457 GB, free: 3.031 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/1.252, allocations: 1.156 kB / 1.457 GB, free: 3.031 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.134e-05/1.252, allocations: 77.89 kB / 1.457 GB, free: 2.957 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.252, allocations: 1.281 kB / 1.457 GB, free: 2.957 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0001958/1.252, allocations: 8.719 kB / 1.457 GB, free: 2.957 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.0005316/1.253, allocations: 0.637 MB / 1.458 GB, free: 2.336 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001455/1.253, allocations: 25.83 kB / 1.458 GB, free: 2.328 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.253, allocations: 0 / 1.458 GB, free: 2.328 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/1.253, allocations: 12.38 kB / 1.458 GB, free: 2.324 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/1.253, allocations: 9.391 kB / 1.458 GB, free: 2.32 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/1.254, allocations: 162.6 kB / 1.458 GB, free: 2.164 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/1.254, allocations: 0.6754 MB / 1.459 GB, free: 1.469 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 3.457e-05/1.254, allocations: 6.156 kB / 1.459 GB, free: 1.465 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/1.254, allocations: 10.34 kB / 1.459 GB, free: 1.457 MB / 1.139 GB Notification: Performance of SimCode: time 3.3e-07/1.254, allocations: 0 / 1.459 GB, free: 1.457 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/1.272, allocations: 1.406 MB / 1.46 GB, free: 1.09 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/9.698, allocations: 9.594 kB / 1.46 GB, free: 1.09 MB / 1.139 GB " [Timeout remaining time 290] (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: 16.43346004601335] Failed to read output from testmodel.py, exit status != 0: 9.842916989990044 9.867775637 8.614701696 Calling exit ...