Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001811/0.001811, allocations: 121.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.002092/0.002092, allocations: 211.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.54/1.54, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.886/2.886, allocations: 476.7 MB / 0.7678 GB, free: 9.332 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.MassFraction_pTphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.002073/0.002073, allocations: 73.77 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9832/0.9852, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003261/0.9885, allocations: 1.66 MB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2061/1.195, allocations: 154.9 MB / 1.432 GB, free: 15.45 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/1.195, allocations: 4 kB / 1.432 GB, free: 15.44 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001894/1.195, allocations: 19.8 kB / 1.432 GB, free: 15.42 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0002892/1.195, allocations: 43.64 kB / 1.432 GB, free: 15.38 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/1.196, allocations: 151.4 kB / 1.432 GB, free: 15.23 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0002192/1.196, allocations: 119.6 kB / 1.432 GB, free: 15.11 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/1.196, allocations: 25.38 kB / 1.432 GB, free: 15.08 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/1.198, allocations: 172.5 kB / 1.432 GB, free: 14.94 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/1.198, allocations: 43.81 kB / 1.432 GB, free: 14.89 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/1.198, allocations: 8 kB / 1.432 GB, free: 14.89 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/1.198, allocations: 191.6 kB / 1.433 GB, free: 14.7 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/1.198, allocations: 19.92 kB / 1.433 GB, free: 14.68 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/1.198, allocations: 51.73 kB / 1.433 GB, free: 14.63 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003605/1.199, allocations: 183.3 kB / 1.433 GB, free: 14.45 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.199, allocations: 7.984 kB / 1.433 GB, free: 14.44 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.473e-06/1.199, allocations: 4 kB / 1.433 GB, free: 14.44 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.021e-06/1.199, allocations: 0 / 1.433 GB, free: 14.44 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007176/1.199, allocations: 453.3 kB / 1.433 GB, free: 13.95 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/1.199, allocations: 8.031 kB / 1.433 GB, free: 13.94 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.237e-05/1.199, allocations: 12.19 kB / 1.433 GB, free: 13.93 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/1.199, allocations: 42.44 kB / 1.433 GB, free: 13.88 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/1.2, allocations: 99.73 kB / 1.433 GB, free: 13.78 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/1.201, allocations: 198.9 kB / 1.434 GB, free: 13.55 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/1.201, allocations: 8 kB / 1.434 GB, free: 13.54 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/1.201, allocations: 4 kB / 1.434 GB, free: 13.54 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/1.201, allocations: 133.6 kB / 1.434 GB, free: 13.4 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.201, allocations: 0 / 1.434 GB, free: 13.4 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/1.201, allocations: 11.94 kB / 1.434 GB, free: 13.39 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/1.201, allocations: 4 kB / 1.434 GB, free: 13.38 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005751/1.202, allocations: 139.7 kB / 1.434 GB, free: 13.25 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008217/1.203, allocations: 404.7 kB / 1.434 GB, free: 12.8 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007666/1.203, allocations: 247.7 kB / 1.434 GB, free: 12.53 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/1.204, allocations: 76.8 kB / 1.435 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/1.204, allocations: 0 / 1.435 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/1.204, allocations: 30.56 kB / 1.435 GB, free: 12.41 MB / 1.123 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/1.204, allocations: 4 kB / 1.435 GB, free: 12.41 MB / 1.123 GB Notification: Performance of matching and sorting (n=8): time 0.0008679/1.205, allocations: 221.3 kB / 1.435 GB, free: 12.19 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/1.205, allocations: 51.41 kB / 1.435 GB, free: 12.12 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/1.205, allocations: 145.3 kB / 1.435 GB, free: 11.98 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/1.205, allocations: 25.7 kB / 1.435 GB, free: 11.95 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/1.205, allocations: 112 kB / 1.435 GB, free: 11.83 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/1.205, allocations: 31.77 kB / 1.435 GB, free: 11.8 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/1.205, allocations: 21.72 kB / 1.435 GB, free: 11.77 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.205, allocations: 330.8 kB / 1.435 GB, free: 11.44 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/1.205, allocations: 51.94 kB / 1.436 GB, free: 11.39 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/1.206, allocations: 78.52 kB / 1.436 GB, free: 11.3 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/1.206, allocations: 113.2 kB / 1.436 GB, free: 11.19 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.206, allocations: 0 / 1.436 GB, free: 11.19 MB / 1.123 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005473/1.207, allocations: 173.4 kB / 1.436 GB, free: 11.02 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.207, allocations: 6.188 kB / 1.436 GB, free: 11.01 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/1.207, allocations: 0 / 1.436 GB, free: 11.01 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.207, allocations: 7.984 kB / 1.436 GB, free: 11 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/1.207, allocations: 23.97 kB / 1.436 GB, free: 10.98 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.207, allocations: 4 kB / 1.436 GB, free: 10.98 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/1.207, allocations: 23.91 kB / 1.436 GB, free: 10.95 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/1.207, allocations: 0 / 1.436 GB, free: 10.95 MB / 1.123 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 (8): * Single equations (assignments): 8 * 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.0001062/1.207, allocations: 125.8 kB / 1.436 GB, free: 10.82 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/1.207, allocations: 11.91 kB / 1.436 GB, free: 10.81 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.76e-05/1.207, allocations: 28.64 kB / 1.436 GB, free: 10.78 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.207, allocations: 0 / 1.436 GB, free: 10.78 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.207, allocations: 3.938 kB / 1.436 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.207, allocations: 3.938 kB / 1.436 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/1.208, allocations: 458.3 kB / 1.437 GB, free: 10.27 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.208, allocations: 0 / 1.437 GB, free: 10.27 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/1.208, allocations: 31.97 kB / 1.437 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/1.208, allocations: 0 / 1.437 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/1.208, allocations: 3.938 kB / 1.437 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.208, allocations: 3.938 kB / 1.437 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.208, allocations: 0 / 1.437 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/1.209, allocations: 267.3 kB / 1.437 GB, free: 9.949 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/1.209, allocations: 88.98 kB / 1.437 GB, free: 9.844 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/1.209, allocations: 11.88 kB / 1.437 GB, free: 9.832 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/1.209, allocations: 15.98 kB / 1.437 GB, free: 9.816 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/1.209, allocations: 7.984 kB / 1.437 GB, free: 9.809 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/1.209, allocations: 4 kB / 1.437 GB, free: 9.805 MB / 1.123 GB Notification: Performance of sorting global known variables: time 9.609e-05/1.209, allocations: 117.3 kB / 1.437 GB, free: 9.691 MB / 1.123 GB Notification: Performance of sort global known variables: time 7.1e-08/1.209, allocations: 0 / 1.437 GB, free: 9.691 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003244/1.21, allocations: 27.94 kB / 1.437 GB, free: 9.664 MB / 1.123 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 (8): * Single equations (assignments): 8 * 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.001066/1.211, allocations: 0.8026 MB / 1.438 GB, free: 8.836 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005629/1.211, allocations: 127.8 kB / 1.438 GB, free: 8.711 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.211, allocations: 0 / 1.438 GB, free: 8.711 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002511/1.212, allocations: 67.88 kB / 1.438 GB, free: 8.645 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/1.212, allocations: 28.59 kB / 1.438 GB, free: 8.617 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/1.215, allocations: 1.742 MB / 1.44 GB, free: 6.797 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/1.215, allocations: 0.708 MB / 1.44 GB, free: 6.062 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001281/1.215, allocations: 20.42 kB / 1.44 GB, free: 6.043 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.585e-05/1.215, allocations: 27.42 kB / 1.441 GB, free: 6.016 MB / 1.123 GB Notification: Performance of SimCode: time 3.91e-07/1.215, allocations: 0 / 1.441 GB, free: 6.016 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/1.235, allocations: 3.418 MB / 1.444 GB, free: 2.754 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/9.917, allocations: 20.8 kB / 1.444 GB, free: 2.738 MB / 1.123 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.581897029012907] Failed to read output from testmodel.py, exit status != 0: 10.047401914023794 10.070958061 8.867617753 Calling exit ...