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.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.001667/0.001667, 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.002028/0.002028, 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.509/1.509, allocations: 225.6 MB / 249.4 MB, free: 3.301 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.8/2.8, allocations: 476.7 MB / 0.7629 GB, free: 15.1 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.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 63.91 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002813/1.053, allocations: 1.671 MB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1985/1.252, allocations: 152.1 MB / 1.422 GB, free: 5.656 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/1.252, allocations: 5.25 kB / 1.422 GB, free: 5.652 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001481/1.252, allocations: 20.92 kB / 1.422 GB, free: 5.633 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002485/1.252, allocations: 42.05 kB / 1.422 GB, free: 5.602 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/1.253, allocations: 149.9 kB / 1.422 GB, free: 5.492 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/1.253, allocations: 116.6 kB / 1.422 GB, free: 5.426 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/1.253, allocations: 25.17 kB / 1.422 GB, free: 5.406 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/1.254, allocations: 187.7 kB / 1.422 GB, free: 5.32 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/1.254, allocations: 44.64 kB / 1.422 GB, free: 5.289 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/1.254, allocations: 6.531 kB / 1.422 GB, free: 5.289 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/1.255, allocations: 185.8 kB / 1.422 GB, free: 5.195 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/1.255, allocations: 20.14 kB / 1.422 GB, free: 5.18 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.059e-05/1.255, allocations: 45.95 kB / 1.422 GB, free: 5.148 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003714/1.255, allocations: 188.5 kB / 1.423 GB, free: 5.035 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.255, allocations: 0 / 1.423 GB, free: 5.035 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.272e-06/1.255, allocations: 1.281 kB / 1.423 GB, free: 5.035 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.255, allocations: 7.984 kB / 1.423 GB, free: 5.027 MB / 1.107 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.0007736/1.256, allocations: 446.8 kB / 1.423 GB, free: 4.59 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/1.256, allocations: 9.25 kB / 1.423 GB, free: 4.59 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.551e-05/1.256, allocations: 42.06 kB / 1.423 GB, free: 4.543 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/1.257, allocations: 88.75 kB / 1.423 GB, free: 4.5 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/1.257, allocations: 204 kB / 1.423 GB, free: 4.273 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/1.257, allocations: 3.812 kB / 1.423 GB, free: 4.273 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/1.257, allocations: 8.938 kB / 1.423 GB, free: 4.27 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/1.258, allocations: 136.6 kB / 1.424 GB, free: 4.176 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/1.258, allocations: 0 / 1.424 GB, free: 4.176 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/1.258, allocations: 9.438 kB / 1.424 GB, free: 4.168 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.258, allocations: 4.969 kB / 1.424 GB, free: 4.164 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/1.258, allocations: 135.7 kB / 1.424 GB, free: 4.102 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007974/1.259, allocations: 407.6 kB / 1.424 GB, free: 3.715 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007654/1.26, allocations: 259.3 kB / 1.424 GB, free: 3.512 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/1.26, allocations: 75.67 kB / 1.424 GB, free: 3.469 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/1.26, allocations: 1.062 kB / 1.424 GB, free: 3.469 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/1.26, allocations: 31.56 kB / 1.424 GB, free: 3.43 MB / 1.107 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/1.26, allocations: 0 / 1.424 GB, free: 3.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=8): time 0.0008133/1.261, allocations: 221.9 kB / 1.425 GB, free: 3.305 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/1.261, allocations: 52.69 kB / 1.425 GB, free: 3.242 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/1.261, allocations: 152.7 kB / 1.425 GB, free: 3.109 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/1.261, allocations: 27.14 kB / 1.425 GB, free: 3.078 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/1.261, allocations: 104.5 kB / 1.425 GB, free: 2.977 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/1.261, allocations: 27.19 kB / 1.425 GB, free: 2.953 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/1.262, allocations: 29.08 kB / 1.425 GB, free: 2.926 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.262, allocations: 325.1 kB / 1.425 GB, free: 2.602 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/1.262, allocations: 53.02 kB / 1.425 GB, free: 2.578 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/1.262, allocations: 79.25 kB / 1.425 GB, free: 2.523 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/1.263, allocations: 120.2 kB / 1.426 GB, free: 2.461 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.263, allocations: 0 / 1.426 GB, free: 2.461 MB / 1.107 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005337/1.263, allocations: 157 kB / 1.426 GB, free: 2.371 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.263, allocations: 5.188 kB / 1.426 GB, free: 2.371 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.263, allocations: 4 kB / 1.426 GB, free: 2.367 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.263, allocations: 1.188 kB / 1.426 GB, free: 2.367 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/1.263, allocations: 30.58 kB / 1.426 GB, free: 2.355 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.263, allocations: 1.125 kB / 1.426 GB, free: 2.355 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/1.264, allocations: 21.66 kB / 1.426 GB, free: 2.344 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/1.264, allocations: 9.062 kB / 1.426 GB, free: 2.336 MB / 1.107 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.0001112/1.264, allocations: 125 kB / 1.426 GB, free: 2.211 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/1.264, allocations: 12.33 kB / 1.426 GB, free: 2.203 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.356e-05/1.264, allocations: 20.2 kB / 1.426 GB, free: 2.184 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.264, allocations: 1.094 kB / 1.426 GB, free: 2.184 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.264, allocations: 0 / 1.426 GB, free: 2.184 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.264, allocations: 1.188 kB / 1.426 GB, free: 2.184 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008978/1.265, allocations: 462.5 kB / 1.426 GB, free: 1.77 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/1.265, allocations: 0 / 1.426 GB, free: 1.77 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/1.265, allocations: 26.59 kB / 1.426 GB, free: 1.762 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.265, allocations: 1.25 kB / 1.426 GB, free: 1.762 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/1.265, allocations: 7.984 kB / 1.426 GB, free: 1.754 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.265, allocations: 13.03 kB / 1.426 GB, free: 1.742 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.265, allocations: 0 / 1.426 GB, free: 1.742 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005443/1.265, allocations: 253 kB / 1.427 GB, free: 1.551 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/1.265, allocations: 91.58 kB / 1.427 GB, free: 1.445 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/1.266, allocations: 4 kB / 1.427 GB, free: 1.441 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/1.266, allocations: 16.77 kB / 1.427 GB, free: 1.434 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/1.266, allocations: 7.922 kB / 1.427 GB, free: 1.43 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/1.266, allocations: 9.281 kB / 1.427 GB, free: 1.422 MB / 1.107 GB Notification: Performance of sorting global known variables: time 9.343e-05/1.266, allocations: 119.7 kB / 1.427 GB, free: 1.324 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.266, allocations: 1.125 kB / 1.427 GB, free: 1.324 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002951/1.266, allocations: 27.78 kB / 1.427 GB, free: 1.32 MB / 1.107 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.001003/1.267, allocations: 0.8143 MB / 1.428 GB, free: 0.5781 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005339/1.268, allocations: 119.8 kB / 1.428 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.268, allocations: 0 / 1.428 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002376/1.268, allocations: 70.53 kB / 1.428 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/1.268, allocations: 26.33 kB / 1.428 GB, free: 492 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/1.271, allocations: 1.74 MB / 1.43 GB, free: 15 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/1.271, allocations: 0.6995 MB / 1.43 GB, free: 14.29 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001353/1.272, allocations: 32.19 kB / 1.43 GB, free: 14.27 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.099e-05/1.272, allocations: 30.08 kB / 1.43 GB, free: 14.25 MB / 1.123 GB Notification: Performance of SimCode: time 9.01e-07/1.272, allocations: 0 / 1.43 GB, free: 14.25 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/1.298, allocations: 3.359 MB / 1.434 GB, free: 12.54 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/9.436, allocations: 9.672 kB / 1.434 GB, free: 12.53 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_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_Examples_MassFraction_pTphi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.572223638999276] Failed to read output from testmodel.py, exit status != 0: 9.504848032986047 9.52074405 8.262276276 Calling exit ...