Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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.001682/0.001682, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.00208/0.00208, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.585/1.585, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.056/3.056, allocations: 0.49 GB / 0.7923 GB, free: 1.359 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.phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_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.00198/0.00198, allocations: 64.19 kB / 1.15 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9612/0.9632, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001957/0.9652, allocations: 1.292 MB / 1.323 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.9662, allocations: 0.8248 MB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.826e-05/0.9662, allocations: 2.531 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.9662, allocations: 3.938 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.575e-05/0.9663, allocations: 7.922 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.9667, allocations: 133.5 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.104e-05/0.9668, allocations: 32.31 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.9668, allocations: 2.625 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.773e-05/0.9669, allocations: 16.52 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.744e-05/0.9669, allocations: 9.719 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.9669, allocations: 0 / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.9672, allocations: 178.5 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.9672, allocations: 3.281 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.9673, allocations: 13.44 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.9674, allocations: 121.4 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.9675, allocations: 6.594 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9675, allocations: 0 / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.9675, allocations: 0 / 1.324 GB, free: 23.07 MB / 1.061 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.0003652/0.9678, allocations: 371.3 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.9679, allocations: 15.27 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.242e-05/0.9679, allocations: 192 / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.011e-05/0.9679, allocations: 30.75 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.9679, allocations: 3.562 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.563e-05/0.968, allocations: 172.3 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.9681, allocations: 40.28 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.9681, allocations: 3.438 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.9682, allocations: 44.73 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.9682, allocations: 0 / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.9682, allocations: 2.562 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.9682, allocations: 0 / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.307e-05/0.9683, allocations: 20.91 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.9684, allocations: 158.1 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.9686, allocations: 43.58 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.9687, allocations: 17.36 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.9689, allocations: 176.2 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.9689, allocations: 45.06 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.9689, allocations: 0 / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002219/0.9691, allocations: 67.66 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.9692, allocations: 55.41 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.961e-05/0.9692, allocations: 96.27 kB / 1.325 GB, free: 21.67 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.9692, allocations: 25.7 kB / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.582e-05/0.9692, allocations: 83.05 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.9693, allocations: 23.67 kB / 1.325 GB, free: 21.54 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.9693, allocations: 17.16 kB / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.863e-05/0.9693, allocations: 317.9 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.587e-05/0.9694, allocations: 5.828 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.9694, allocations: 15.56 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.172e-05/0.9695, allocations: 23.95 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.9695, allocations: 0 / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001134/0.9696, allocations: 62.72 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.9696, allocations: 11.91 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.9696, allocations: 4 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.9696, allocations: 0 / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.9697, allocations: 9.844 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.9697, allocations: 3.031 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.741e-05/0.9697, allocations: 0 / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.9697, allocations: 6.234 kB / 1.326 GB, free: 21.13 MB / 1.061 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 4.408e-05/0.9698, allocations: 105.8 kB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.9698, allocations: 18.73 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.9699, allocations: 66.08 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.9699, allocations: 0 / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.9699, allocations: 3.281 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.9699, allocations: 0 / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.944e-05/0.97, allocations: 154.8 kB / 1.326 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.97, allocations: 0 / 1.326 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.97, allocations: 13.66 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.97, allocations: 3.062 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.9701, allocations: 3.469 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.9701, allocations: 4 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.9701, allocations: 0 / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.9702, allocations: 80.61 kB / 1.326 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.9702, allocations: 88.94 kB / 1.326 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.9702, allocations: 3.188 kB / 1.326 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.715e-05/0.9703, allocations: 3.328 kB / 1.326 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.9703, allocations: 7.062 kB / 1.326 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.9703, allocations: 4 kB / 1.326 GB, free: 20.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.649e-05/0.9703, allocations: 81.56 kB / 1.327 GB, free: 20.49 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9703, allocations: 0 / 1.327 GB, free: 20.49 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002232/0.9706, allocations: 40.19 kB / 1.327 GB, free: 20.47 MB / 1.061 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.0003836/0.971, allocations: 0.663 MB / 1.327 GB, free: 19.85 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.9711, allocations: 27.08 kB / 1.327 GB, free: 19.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9711, allocations: 2.812 kB / 1.327 GB, free: 19.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.912e-05/0.9711, allocations: 19.88 kB / 1.327 GB, free: 19.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.9713, allocations: 2.781 kB / 1.327 GB, free: 19.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.9717, allocations: 173.5 kB / 1.327 GB, free: 19.67 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.946e-05/0.9718, allocations: 0.6855 MB / 1.328 GB, free: 18.97 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.374e-05/0.9718, allocations: 2.875 kB / 1.328 GB, free: 18.97 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.9718, allocations: 10.25 kB / 1.328 GB, free: 18.96 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.9718, allocations: 0 / 1.328 GB, free: 18.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.9898, allocations: 2.049 MB / 1.33 GB, free: 18.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.807/9.797, allocations: 9.5 kB / 1.33 GB, free: 18.51 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.707439448975492] Failed to read output from testmodel.py, exit status != 0: 9.928666685009375 9.949831825 8.978625997 Calling exit ...