Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.946/2.946, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003204/0.003204, allocations: 67.89 kB / 1.107 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9568/0.96, allocations: 168.7 MB / 1.272 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002314/0.9623, allocations: 1.294 MB / 1.273 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1767/1.139, allocations: 132.4 MB / 1.402 GB, free: 5.891 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/1.139, allocations: 1.094 kB / 1.402 GB, free: 5.891 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/1.139, allocations: 3.938 kB / 1.402 GB, free: 5.887 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 8.019e-05/1.139, allocations: 9.203 kB / 1.402 GB, free: 5.879 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/1.14, allocations: 59.7 kB / 1.402 GB, free: 5.84 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 8.552e-05/1.14, allocations: 18.47 kB / 1.402 GB, free: 5.832 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/1.14, allocations: 1.312 kB / 1.402 GB, free: 5.832 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 6.404e-05/1.14, allocations: 17.23 kB / 1.402 GB, free: 5.82 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/1.14, allocations: 11.64 kB / 1.402 GB, free: 5.812 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/1.14, allocations: 1.5 kB / 1.402 GB, free: 5.812 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 7.597e-05/1.14, allocations: 15.67 kB / 1.402 GB, free: 5.805 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/1.14, allocations: 1.5 kB / 1.402 GB, free: 5.805 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/1.14, allocations: 11.41 kB / 1.402 GB, free: 5.797 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 9.85e-05/1.14, allocations: 20.66 kB / 1.402 GB, free: 5.789 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.14, allocations: 0 / 1.402 GB, free: 5.789 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.442e-06/1.14, allocations: 0 / 1.402 GB, free: 5.789 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.558e-06/1.14, allocations: 0 / 1.402 GB, free: 5.789 MB / 1.092 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.0004517/1.141, allocations: 337.2 kB / 1.403 GB, free: 5.422 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.141, allocations: 10.81 kB / 1.403 GB, free: 5.422 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/1.141, allocations: 34.69 kB / 1.403 GB, free: 5.379 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/1.141, allocations: 6.266 kB / 1.403 GB, free: 5.375 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/1.141, allocations: 165.5 kB / 1.403 GB, free: 5.176 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-05/1.141, allocations: 33.91 kB / 1.403 GB, free: 5.141 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-06/1.141, allocations: 1.688 kB / 1.403 GB, free: 5.141 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/1.141, allocations: 43.09 kB / 1.403 GB, free: 5.098 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/1.141, allocations: 4 kB / 1.403 GB, free: 5.094 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/1.141, allocations: 9.062 kB / 1.403 GB, free: 5.086 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/1.141, allocations: 0 / 1.403 GB, free: 5.086 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.078e-05/1.141, allocations: 8.438 kB / 1.403 GB, free: 5.086 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/1.141, allocations: 153.2 kB / 1.403 GB, free: 4.891 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/1.141, allocations: 35.45 kB / 1.403 GB, free: 4.855 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/1.142, allocations: 8.422 kB / 1.403 GB, free: 4.848 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/1.142, allocations: 94.16 kB / 1.403 GB, free: 4.746 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/1.142, allocations: 39.78 kB / 1.403 GB, free: 4.699 MB / 1.092 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/1.142, allocations: 0 / 1.403 GB, free: 4.699 MB / 1.092 GB Notification: Performance of matching and sorting (n=3): time 0.0002665/1.142, allocations: 67.31 kB / 1.403 GB, free: 4.645 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/1.142, allocations: 51.41 kB / 1.403 GB, free: 4.582 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/1.142, allocations: 101.7 kB / 1.403 GB, free: 4.477 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/1.142, allocations: 25.7 kB / 1.403 GB, free: 4.445 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/1.142, allocations: 89.31 kB / 1.404 GB, free: 4.355 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/1.142, allocations: 9.062 kB / 1.404 GB, free: 4.348 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/1.142, allocations: 13.47 kB / 1.404 GB, free: 4.332 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.142, allocations: 314.8 kB / 1.404 GB, free: 4.016 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/1.142, allocations: 8.984 kB / 1.404 GB, free: 4.012 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.712e-05/1.143, allocations: 4.594 kB / 1.404 GB, free: 4.012 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.068e-05/1.143, allocations: 26.66 kB / 1.404 GB, free: 3.992 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/1.143, allocations: 0 / 1.404 GB, free: 3.992 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000134/1.143, allocations: 56.08 kB / 1.404 GB, free: 3.945 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/1.143, allocations: 8.938 kB / 1.404 GB, free: 3.941 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/1.143, allocations: 0 / 1.404 GB, free: 3.941 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.143, allocations: 1.406 kB / 1.404 GB, free: 3.941 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/1.143, allocations: 8.219 kB / 1.404 GB, free: 3.938 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.143, allocations: 1.531 kB / 1.404 GB, free: 3.938 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.388e-05/1.143, allocations: 9.406 kB / 1.404 GB, free: 3.93 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/1.143, allocations: 0 / 1.404 GB, free: 3.93 MB / 1.092 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.876e-05/1.143, allocations: 111.3 kB / 1.404 GB, free: 3.812 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/1.143, allocations: 10.17 kB / 1.404 GB, free: 3.805 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/1.143, allocations: 54.41 kB / 1.404 GB, free: 3.754 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/1.143, allocations: 0 / 1.404 GB, free: 3.754 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.143, allocations: 1.25 kB / 1.404 GB, free: 3.754 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.143, allocations: 7.922 kB / 1.404 GB, free: 3.746 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/1.143, allocations: 153.5 kB / 1.404 GB, free: 3.551 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.143, allocations: 4 kB / 1.404 GB, free: 3.547 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/1.143, allocations: 9.672 kB / 1.404 GB, free: 3.543 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.143, allocations: 3.938 kB / 1.404 GB, free: 3.539 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/1.143, allocations: 1.219 kB / 1.404 GB, free: 3.539 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/1.143, allocations: 3.984 kB / 1.404 GB, free: 3.535 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/1.143, allocations: 1.25 kB / 1.404 GB, free: 3.535 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/1.144, allocations: 79.58 kB / 1.404 GB, free: 3.453 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/1.144, allocations: 86.97 kB / 1.404 GB, free: 3.352 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/1.144, allocations: 0.9688 kB / 1.404 GB, free: 3.352 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.701e-05/1.144, allocations: 0.8438 kB / 1.404 GB, free: 3.352 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/1.144, allocations: 6.234 kB / 1.404 GB, free: 3.348 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/1.144, allocations: 0.9688 kB / 1.404 GB, free: 3.348 MB / 1.092 GB Notification: Performance of sorting global known variables: time 4.311e-05/1.144, allocations: 89.55 kB / 1.405 GB, free: 3.262 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/1.144, allocations: 0 / 1.405 GB, free: 3.262 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0001906/1.144, allocations: 9.156 kB / 1.405 GB, free: 3.262 MB / 1.092 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.0005727/1.145, allocations: 0.6275 MB / 1.405 GB, free: 2.641 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0001423/1.145, allocations: 15.95 kB / 1.405 GB, free: 2.637 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.145, allocations: 5.281 kB / 1.405 GB, free: 2.633 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/1.145, allocations: 10.19 kB / 1.405 GB, free: 2.629 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/1.145, allocations: 13.55 kB / 1.405 GB, free: 2.621 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/1.145, allocations: 160.6 kB / 1.405 GB, free: 2.461 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/1.146, allocations: 0.6765 MB / 1.406 GB, free: 1.762 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 3.266e-05/1.146, allocations: 5.312 kB / 1.406 GB, free: 1.758 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/1.146, allocations: 14.09 kB / 1.406 GB, free: 1.746 MB / 1.092 GB Notification: Performance of SimCode: time 3.1e-07/1.146, allocations: 0 / 1.406 GB, free: 1.746 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/1.169, allocations: 1.347 MB / 1.407 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/9.247, allocations: 12.53 kB / 1.407 GB, free: 0.9844 MB / 1.092 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.665853981015971] Failed to read output from testmodel.py, exit status != 0: 9.324742853001226 9.344982049 8.201099006 Calling exit ...