Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.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.001752/0.001752, allocations: 115.4 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.002241/0.002241, allocations: 210.2 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.586/1.586, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.045/3.045, allocations: 0.49 GB / 0.7923 GB, free: 1.395 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.Examples.Phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_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.003281/0.003281, allocations: 71.89 kB / 1.15 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.141, allocations: 176.1 MB / 1.321 GB, free: 7.785 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003453/1.144, allocations: 1.515 MB / 1.323 GB, free: 6.598 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001529/1.146, allocations: 0.8147 MB / 1.324 GB, free: 5.957 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/1.146, allocations: 1.219 kB / 1.324 GB, free: 5.957 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/1.146, allocations: 3.938 kB / 1.324 GB, free: 5.953 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.957e-05/1.146, allocations: 5.312 kB / 1.324 GB, free: 5.949 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005151/1.146, allocations: 135.8 kB / 1.324 GB, free: 5.852 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/1.147, allocations: 51.94 kB / 1.324 GB, free: 5.82 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/1.147, allocations: 19.28 kB / 1.324 GB, free: 5.809 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.591e-05/1.147, allocations: 19.27 kB / 1.324 GB, free: 5.797 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.592e-05/1.147, allocations: 26.61 kB / 1.324 GB, free: 5.777 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/1.147, allocations: 5.188 kB / 1.324 GB, free: 5.777 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/1.147, allocations: 175.2 kB / 1.324 GB, free: 5.691 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/1.147, allocations: 9.172 kB / 1.324 GB, free: 5.684 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/1.147, allocations: 20.91 kB / 1.324 GB, free: 5.668 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/1.147, allocations: 162.4 kB / 1.324 GB, free: 5.57 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.147, allocations: 0 / 1.324 GB, free: 5.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.053e-06/1.147, allocations: 0 / 1.324 GB, free: 5.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.055e-05/1.148, allocations: 0 / 1.324 GB, free: 5.57 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000677/1.148, allocations: 407.1 kB / 1.325 GB, free: 5.156 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.148, allocations: 13.3 kB / 1.325 GB, free: 5.152 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.263e-05/1.148, allocations: 1.312 kB / 1.325 GB, free: 5.152 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/1.148, allocations: 35.97 kB / 1.325 GB, free: 5.109 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/1.148, allocations: 12.64 kB / 1.325 GB, free: 5.102 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/1.148, allocations: 174.9 kB / 1.325 GB, free: 4.895 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/1.148, allocations: 1.844 kB / 1.325 GB, free: 4.895 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/1.148, allocations: 7.125 kB / 1.325 GB, free: 4.891 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/1.149, allocations: 81.45 kB / 1.325 GB, free: 4.828 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.149, allocations: 0 / 1.325 GB, free: 4.828 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/1.149, allocations: 0 / 1.325 GB, free: 4.828 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/1.149, allocations: 1.406 kB / 1.325 GB, free: 4.828 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/1.149, allocations: 77.89 kB / 1.325 GB, free: 4.789 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/1.15, allocations: 278.9 kB / 1.325 GB, free: 4.484 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/1.15, allocations: 59.56 kB / 1.325 GB, free: 4.438 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/1.15, allocations: 35.27 kB / 1.325 GB, free: 4.418 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/1.15, allocations: 93.78 kB / 1.326 GB, free: 4.316 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/1.15, allocations: 31.59 kB / 1.326 GB, free: 4.277 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/1.15, allocations: 0 / 1.326 GB, free: 4.277 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0006424/1.151, allocations: 134.6 kB / 1.326 GB, free: 4.195 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/1.151, allocations: 56.47 kB / 1.326 GB, free: 4.129 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/1.151, allocations: 116.4 kB / 1.326 GB, free: 4.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/1.151, allocations: 25.7 kB / 1.326 GB, free: 3.988 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/1.151, allocations: 95.25 kB / 1.326 GB, free: 3.895 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/1.151, allocations: 13 kB / 1.326 GB, free: 3.883 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/1.151, allocations: 12.06 kB / 1.326 GB, free: 3.867 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001792/1.151, allocations: 324.9 kB / 1.326 GB, free: 3.543 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/1.152, allocations: 33.62 kB / 1.326 GB, free: 3.527 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/1.152, allocations: 33.45 kB / 1.326 GB, free: 3.512 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/1.152, allocations: 63.02 kB / 1.326 GB, free: 3.48 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/1.152, allocations: 9.5 kB / 1.326 GB, free: 3.473 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003544/1.152, allocations: 97.14 kB / 1.327 GB, free: 3.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.152, allocations: 10.19 kB / 1.327 GB, free: 3.406 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.152, allocations: 0 / 1.327 GB, free: 3.406 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/1.152, allocations: 0 / 1.327 GB, free: 3.406 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/1.153, allocations: 14.95 kB / 1.327 GB, free: 3.402 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/1.153, allocations: 4 kB / 1.327 GB, free: 3.398 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.552e-05/1.153, allocations: 14.94 kB / 1.327 GB, free: 3.391 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/1.153, allocations: 1.062 kB / 1.327 GB, free: 3.391 MB / 1.014 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.0001036/1.153, allocations: 116.2 kB / 1.327 GB, free: 3.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/1.153, allocations: 7.797 kB / 1.327 GB, free: 3.266 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/1.153, allocations: 108.1 kB / 1.327 GB, free: 3.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/1.153, allocations: 5.438 kB / 1.327 GB, free: 3.176 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.153, allocations: 0 / 1.327 GB, free: 3.176 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/1.153, allocations: 0 / 1.327 GB, free: 3.176 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/1.154, allocations: 178.5 kB / 1.327 GB, free: 2.961 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.154, allocations: 3.938 kB / 1.327 GB, free: 2.957 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-05/1.154, allocations: 15.08 kB / 1.327 GB, free: 2.953 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.154, allocations: 0 / 1.327 GB, free: 2.953 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/1.154, allocations: 1.312 kB / 1.327 GB, free: 2.953 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.154, allocations: 0 / 1.327 GB, free: 2.953 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.154, allocations: 5.188 kB / 1.327 GB, free: 2.949 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/1.154, allocations: 200 kB / 1.327 GB, free: 2.777 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/1.154, allocations: 83.41 kB / 1.327 GB, free: 2.68 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/1.154, allocations: 0 / 1.327 GB, free: 2.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/1.154, allocations: 15.33 kB / 1.327 GB, free: 2.672 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/1.154, allocations: 10.73 kB / 1.327 GB, free: 2.664 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/1.154, allocations: 0 / 1.327 GB, free: 2.664 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.557e-05/1.154, allocations: 88.69 kB / 1.327 GB, free: 2.586 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.154, allocations: 0 / 1.327 GB, free: 2.586 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003013/1.155, allocations: 35.64 kB / 1.327 GB, free: 2.574 MB / 1.014 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.0008496/1.156, allocations: 0.765 MB / 1.328 GB, free: 1.859 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003643/1.156, allocations: 70.77 kB / 1.328 GB, free: 1.828 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.156, allocations: 0 / 1.328 GB, free: 1.828 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/1.156, allocations: 44.22 kB / 1.328 GB, free: 1.805 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/1.156, allocations: 15.2 kB / 1.328 GB, free: 1.797 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/1.159, allocations: 1.433 MB / 1.33 GB, free: 488 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/1.159, allocations: 0.6843 MB / 1.33 GB, free: 15.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.616e-05/1.159, allocations: 2.312 kB / 1.33 GB, free: 15.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/1.159, allocations: 22.75 kB / 1.33 GB, free: 15.75 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/1.159, allocations: 0 / 1.33 GB, free: 15.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/1.184, allocations: 2.558 MB / 1.333 GB, free: 14.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/9.636, allocations: 11.55 kB / 1.333 GB, free: 14.38 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.275540743023157] Failed to read output from testmodel.py, exit status != 0: 9.763494409038685 9.783112179 8.631563052 Calling exit ...