Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001261/0.001261, allocations: 117.1 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.001369/0.001369, allocations: 215 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.607/1.607, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.127/3.127, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_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.00206/0.00206, allocations: 63.91 kB / 1.165 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255/1.257, allocations: 178.9 MB / 1.34 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003457/1.261, allocations: 1.664 MB / 1.342 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.208/1.469, allocations: 154.9 MB / 1.493 GB, free: 7.098 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/1.469, allocations: 3.938 kB / 1.493 GB, free: 7.094 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001731/1.469, allocations: 19.8 kB / 1.493 GB, free: 7.074 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002725/1.469, allocations: 43.69 kB / 1.493 GB, free: 7.031 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/1.47, allocations: 147.4 kB / 1.493 GB, free: 6.887 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/1.47, allocations: 119.6 kB / 1.493 GB, free: 6.77 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/1.47, allocations: 21.39 kB / 1.493 GB, free: 6.742 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/1.472, allocations: 178.3 kB / 1.493 GB, free: 6.594 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 7.288e-05/1.472, allocations: 39.84 kB / 1.494 GB, free: 6.555 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/1.472, allocations: 8 kB / 1.494 GB, free: 6.547 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004837/1.472, allocations: 187.6 kB / 1.494 GB, free: 6.363 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 6.098e-05/1.472, allocations: 31.83 kB / 1.494 GB, free: 6.332 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 6.73e-05/1.472, allocations: 39.81 kB / 1.494 GB, free: 6.293 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004451/1.473, allocations: 203.2 kB / 1.494 GB, free: 6.094 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/1.473, allocations: 0 / 1.494 GB, free: 6.094 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.413e-06/1.473, allocations: 0 / 1.494 GB, free: 6.094 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.625e-06/1.473, allocations: 0 / 1.494 GB, free: 6.094 MB / 1.17 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.0008403/1.474, allocations: 450.6 kB / 1.494 GB, free: 5.605 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.474, allocations: 8.031 kB / 1.494 GB, free: 5.598 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.67e-05/1.474, allocations: 8.188 kB / 1.494 GB, free: 5.59 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.467e-05/1.474, allocations: 46.48 kB / 1.494 GB, free: 5.535 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000999/1.475, allocations: 79.86 kB / 1.495 GB, free: 5.457 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/1.475, allocations: 210.9 kB / 1.495 GB, free: 5.211 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/1.475, allocations: 4 kB / 1.495 GB, free: 5.207 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/1.475, allocations: 11.98 kB / 1.495 GB, free: 5.195 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/1.475, allocations: 140.2 kB / 1.495 GB, free: 5.055 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.475, allocations: 3.938 kB / 1.495 GB, free: 5.051 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/1.475, allocations: 11.94 kB / 1.495 GB, free: 5.039 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/1.475, allocations: 0 / 1.495 GB, free: 5.039 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005541/1.476, allocations: 135.8 kB / 1.495 GB, free: 4.906 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008273/1.477, allocations: 412.5 kB / 1.495 GB, free: 4.453 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/1.478, allocations: 251.7 kB / 1.496 GB, free: 4.18 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/1.478, allocations: 84.73 kB / 1.496 GB, free: 4.094 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/1.478, allocations: 0 / 1.496 GB, free: 4.094 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/1.478, allocations: 30.56 kB / 1.496 GB, free: 4.055 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/1.478, allocations: 0 / 1.496 GB, free: 4.055 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.0008701/1.479, allocations: 217.4 kB / 1.496 GB, free: 3.836 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/1.479, allocations: 59.41 kB / 1.496 GB, free: 3.766 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/1.479, allocations: 144.9 kB / 1.496 GB, free: 3.617 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/1.479, allocations: 25.7 kB / 1.496 GB, free: 3.586 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/1.479, allocations: 108 kB / 1.496 GB, free: 3.477 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/1.479, allocations: 31.73 kB / 1.496 GB, free: 3.445 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/1.479, allocations: 29.7 kB / 1.496 GB, free: 3.41 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.479, allocations: 322.8 kB / 1.497 GB, free: 3.086 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/1.48, allocations: 51.95 kB / 1.497 GB, free: 3.035 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/1.48, allocations: 78.52 kB / 1.497 GB, free: 2.949 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/1.48, allocations: 124.7 kB / 1.497 GB, free: 2.824 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.48, allocations: 0 / 1.497 GB, free: 2.824 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005265/1.481, allocations: 157.6 kB / 1.497 GB, free: 2.664 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.481, allocations: 6.031 kB / 1.497 GB, free: 2.66 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.481, allocations: 0 / 1.497 GB, free: 2.66 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.481, allocations: 0 / 1.497 GB, free: 2.66 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/1.481, allocations: 31.95 kB / 1.497 GB, free: 2.629 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.481, allocations: 4 kB / 1.497 GB, free: 2.625 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/1.481, allocations: 27.88 kB / 1.497 GB, free: 2.598 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/1.481, allocations: 0 / 1.497 GB, free: 2.598 MB / 1.17 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.0001224/1.481, allocations: 125.8 kB / 1.497 GB, free: 2.465 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/1.481, allocations: 11.95 kB / 1.497 GB, free: 2.453 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.838e-05/1.482, allocations: 16.72 kB / 1.497 GB, free: 2.438 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.482, allocations: 4 kB / 1.497 GB, free: 2.434 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.482, allocations: 0 / 1.497 GB, free: 2.434 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.482, allocations: 3.938 kB / 1.497 GB, free: 2.43 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000894/1.482, allocations: 458.4 kB / 1.498 GB, free: 1.926 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.482, allocations: 0 / 1.498 GB, free: 1.926 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/1.483, allocations: 31.91 kB / 1.498 GB, free: 1.895 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/1.483, allocations: 7.938 kB / 1.498 GB, free: 1.887 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/1.483, allocations: 7.922 kB / 1.498 GB, free: 1.879 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.483, allocations: 3.938 kB / 1.498 GB, free: 1.875 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.483, allocations: 0 / 1.498 GB, free: 1.875 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/1.483, allocations: 252 kB / 1.498 GB, free: 1.613 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/1.483, allocations: 93 kB / 1.498 GB, free: 1.504 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/1.483, allocations: 3.938 kB / 1.498 GB, free: 1.5 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/1.484, allocations: 11.98 kB / 1.498 GB, free: 1.488 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/1.484, allocations: 15.98 kB / 1.498 GB, free: 1.473 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/1.484, allocations: 8 kB / 1.498 GB, free: 1.465 MB / 1.17 GB Notification: Performance of sorting global known variables: time 9.41e-05/1.484, allocations: 107.2 kB / 1.498 GB, free: 1.359 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.484, allocations: 0 / 1.498 GB, free: 1.359 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002851/1.484, allocations: 35.89 kB / 1.498 GB, free: 1.324 MB / 1.17 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.0009678/1.485, allocations: 0.8022 MB / 1.499 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005459/1.486, allocations: 135.8 kB / 1.499 GB, free: 372 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.486, allocations: 0 / 1.499 GB, free: 372 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/1.486, allocations: 59.94 kB / 1.499 GB, free: 312 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/1.486, allocations: 27.98 kB / 1.499 GB, free: 284 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/1.489, allocations: 1.743 MB / 1.501 GB, free: 14.46 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/1.489, allocations: 0.7041 MB / 1.502 GB, free: 13.73 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001288/1.49, allocations: 28.39 kB / 1.502 GB, free: 13.7 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.622e-05/1.49, allocations: 31.42 kB / 1.502 GB, free: 13.67 MB / 1.186 GB Notification: Performance of SimCode: time 3.9e-07/1.49, allocations: 0 / 1.502 GB, free: 13.67 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/1.508, allocations: 3.419 MB / 1.505 GB, free: 10.43 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/9.972, allocations: 20.55 kB / 1.505 GB, free: 10.41 MB / 1.186 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.826303486013785] Failed to read output from testmodel.py, exit status != 0: 10.097842162998859 10.112232432 8.636608453000001 Calling exit ...