Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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.001618/0.001618, 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.001792/0.001792, 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.481/1.481, allocations: 225.6 MB / 249.4 MB, free: 3.176 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.803/2.803, allocations: 476.7 MB / 0.7629 GB, free: 15.25 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.phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002869/0.002869, allocations: 67.89 kB / 1.107 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228/1.231, allocations: 168.7 MB / 1.272 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002482/1.233, allocations: 1.293 MB / 1.273 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001447/1.235, allocations: 0.8342 MB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/1.235, allocations: 0.8125 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/1.235, allocations: 3.938 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-05/1.235, allocations: 1.438 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/1.235, allocations: 138.6 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.417e-05/1.235, allocations: 23.98 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/1.235, allocations: 6.344 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.567e-05/1.235, allocations: 12.2 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/1.236, allocations: 11.89 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/1.236, allocations: 8.734 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003728/1.236, allocations: 163 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/1.236, allocations: 3.219 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/1.236, allocations: 17.31 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/1.236, allocations: 120.1 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.236, allocations: 0 / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/1.236, allocations: 0 / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.502e-06/1.236, allocations: 0.9062 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004458/1.237, allocations: 365.5 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.237, allocations: 13.75 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.9e-05/1.237, allocations: 31.78 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/1.237, allocations: 6.922 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.736e-05/1.237, allocations: 163.9 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.09e-05/1.237, allocations: 37.91 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/1.237, allocations: 1.969 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/1.237, allocations: 50.91 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.237, allocations: 0.9688 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/1.237, allocations: 0 / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/1.237, allocations: 1.125 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/1.237, allocations: 14.14 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/1.237, allocations: 160.8 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/1.238, allocations: 45.03 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/1.238, allocations: 20.42 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/1.238, allocations: 181.5 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/1.238, allocations: 35.44 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/1.238, allocations: 7.938 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002582/1.238, allocations: 66.48 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/1.238, allocations: 51.41 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.913e-05/1.238, allocations: 99.12 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/1.238, allocations: 26.77 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.552e-05/1.238, allocations: 80.14 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/1.238, allocations: 17.16 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/1.238, allocations: 16.59 kB / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.615e-05/1.238, allocations: 312.5 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.119e-05/1.238, allocations: 10.7 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.477e-05/1.238, allocations: 8.594 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/1.239, allocations: 38.7 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.239, allocations: 4.781 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001301/1.239, allocations: 56.88 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.239, allocations: 9.656 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.239, allocations: 4 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/1.239, allocations: 0.7812 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.349e-05/1.239, allocations: 6.562 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.239, allocations: 0.8438 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/1.239, allocations: 10.42 kB / 1.276 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/1.239, allocations: 1.578 kB / 1.276 GB, free: 4.121 MB / 0.9981 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 (4): * Single equations (assignments): 4 * 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 5.101e-05/1.239, allocations: 107.8 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/1.239, allocations: 12.25 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/1.239, allocations: 68.14 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/1.239, allocations: 0 / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.239, allocations: 0.9375 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/1.239, allocations: 3.938 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.696e-05/1.239, allocations: 158.7 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.239, allocations: 0 / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/1.239, allocations: 7.797 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/1.239, allocations: 5.125 kB / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/1.239, allocations: 0.9688 kB / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.239, allocations: 1.922 kB / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.239, allocations: 4.938 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/1.239, allocations: 86.14 kB / 1.276 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/1.239, allocations: 85.12 kB / 1.276 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/1.239, allocations: 3.391 kB / 1.276 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.573e-05/1.24, allocations: 6.172 kB / 1.276 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/1.24, allocations: 1.938 kB / 1.276 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/1.24, allocations: 10 kB / 1.276 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.236e-05/1.24, allocations: 80.03 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.24, allocations: 0 / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002591/1.24, allocations: 30.94 kB / 1.277 GB, free: 3.473 MB / 0.9981 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 (4): * Single equations (assignments): 4 * 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.0004618/1.24, allocations: 0.6751 MB / 1.277 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000169/1.24, allocations: 24.42 kB / 1.277 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.24, allocations: 0.8125 kB / 1.277 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.501e-05/1.241, allocations: 12.66 kB / 1.277 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/1.241, allocations: 7.375 kB / 1.277 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/1.241, allocations: 174 kB / 1.277 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/1.241, allocations: 0.6814 MB / 1.278 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.836e-05/1.241, allocations: 3.344 kB / 1.278 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/1.241, allocations: 13.81 kB / 1.278 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.241, allocations: 0 / 1.278 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/1.266, allocations: 1.935 MB / 1.28 GB, free: 17.54 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/9.301, allocations: 7.531 kB / 1.28 GB, free: 17.54 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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_phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.434548449004069] Failed to read output from testmodel.py, exit status != 0: 9.371804652007995 9.391580493 8.150979119 Calling exit ...