Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.001856/0.001856, 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.002068/0.002068, 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.164 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.832/2.832, allocations: 476.7 MB / 0.7629 GB, free: 15.09 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.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 63.91 kB / 1.107 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9613/0.9634, allocations: 168.7 MB / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.189/1.152, allocations: 149.5 MB / 1.418 GB, free: 9.059 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.001868/1.154, allocations: 1.129 MB / 1.419 GB, free: 8.152 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/1.154, allocations: 1.281 kB / 1.419 GB, free: 8.152 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004015/1.155, allocations: 65.91 kB / 1.419 GB, free: 8.102 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0009452/1.156, allocations: 309.7 kB / 1.419 GB, free: 7.875 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/1.156, allocations: 167 kB / 1.419 GB, free: 7.762 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004784/1.157, allocations: 229.8 kB / 1.419 GB, free: 7.625 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/1.157, allocations: 50.62 kB / 1.419 GB, free: 7.59 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 8.885e-05/1.157, allocations: 51.03 kB / 1.419 GB, free: 7.559 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/1.157, allocations: 64.67 kB / 1.42 GB, free: 7.512 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/1.157, allocations: 16.27 kB / 1.42 GB, free: 7.508 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006092/1.158, allocations: 376 kB / 1.42 GB, free: 7.297 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/1.158, allocations: 29.06 kB / 1.42 GB, free: 7.273 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.896e-05/1.158, allocations: 61.08 kB / 1.42 GB, free: 7.23 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0005027/1.158, allocations: 299.9 kB / 1.42 GB, free: 7.043 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.158, allocations: 4 kB / 1.42 GB, free: 7.039 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.804e-06/1.158, allocations: 0 / 1.42 GB, free: 7.039 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.107e-05/1.158, allocations: 1.156 kB / 1.42 GB, free: 7.039 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007338/1.159, allocations: 472.9 kB / 1.421 GB, free: 6.582 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.159, allocations: 8.875 kB / 1.421 GB, free: 6.582 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.8e-05/1.159, allocations: 42.92 kB / 1.421 GB, free: 6.535 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/1.159, allocations: 39.61 kB / 1.421 GB, free: 6.516 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/1.16, allocations: 209.3 kB / 1.421 GB, free: 6.285 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/1.16, allocations: 8.156 kB / 1.421 GB, free: 6.281 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/1.16, allocations: 15.12 kB / 1.421 GB, free: 6.273 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/1.16, allocations: 116.7 kB / 1.421 GB, free: 6.195 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/1.16, allocations: 3.984 kB / 1.421 GB, free: 6.191 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/1.16, allocations: 9.125 kB / 1.421 GB, free: 6.184 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/1.16, allocations: 2.812 kB / 1.421 GB, free: 6.184 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/1.16, allocations: 100.5 kB / 1.421 GB, free: 6.133 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007476/1.161, allocations: 454.5 kB / 1.422 GB, free: 5.711 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/1.161, allocations: 91.97 kB / 1.422 GB, free: 5.648 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/1.161, allocations: 34.23 kB / 1.422 GB, free: 5.629 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/1.162, allocations: 1.062 kB / 1.422 GB, free: 5.629 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/1.162, allocations: 31.88 kB / 1.422 GB, free: 5.59 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/1.162, allocations: 0 / 1.422 GB, free: 5.59 MB / 1.107 GB Notification: Performance of matching and sorting (n=7): time 0.0004781/1.162, allocations: 147.3 kB / 1.422 GB, free: 5.5 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/1.162, allocations: 55.41 kB / 1.422 GB, free: 5.434 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/1.162, allocations: 185.4 kB / 1.422 GB, free: 5.289 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/1.162, allocations: 31.05 kB / 1.422 GB, free: 5.254 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/1.162, allocations: 117.2 kB / 1.422 GB, free: 5.141 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/1.162, allocations: 19.31 kB / 1.422 GB, free: 5.125 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/1.162, allocations: 27.48 kB / 1.422 GB, free: 5.098 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.163, allocations: 325.7 kB / 1.423 GB, free: 4.773 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/1.163, allocations: 32.55 kB / 1.423 GB, free: 4.758 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/1.163, allocations: 33.34 kB / 1.423 GB, free: 4.742 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/1.163, allocations: 85.48 kB / 1.423 GB, free: 4.691 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.163, allocations: 0 / 1.423 GB, free: 4.691 MB / 1.107 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002946/1.163, allocations: 110.5 kB / 1.423 GB, free: 4.625 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.163, allocations: 8.719 kB / 1.423 GB, free: 4.621 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/1.163, allocations: 5.25 kB / 1.423 GB, free: 4.617 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/1.163, allocations: 0 / 1.423 GB, free: 4.617 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/1.164, allocations: 17.92 kB / 1.423 GB, free: 4.613 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/1.164, allocations: 0 / 1.423 GB, free: 4.613 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.717e-05/1.164, allocations: 17.88 kB / 1.423 GB, free: 4.602 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/1.164, allocations: 1.125 kB / 1.423 GB, free: 4.602 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.0001345/1.164, allocations: 128.3 kB / 1.423 GB, free: 4.473 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/1.164, allocations: 14.03 kB / 1.423 GB, free: 4.465 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/1.164, allocations: 133.4 kB / 1.423 GB, free: 4.367 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.164, allocations: 1.469 kB / 1.423 GB, free: 4.367 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.164, allocations: 0 / 1.423 GB, free: 4.367 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.164, allocations: 0 / 1.423 GB, free: 4.367 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/1.165, allocations: 220.5 kB / 1.423 GB, free: 4.129 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/1.165, allocations: 0 / 1.423 GB, free: 4.129 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/1.165, allocations: 15.95 kB / 1.423 GB, free: 4.125 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.165, allocations: 0 / 1.423 GB, free: 4.125 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/1.165, allocations: 9.094 kB / 1.423 GB, free: 4.117 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.165, allocations: 4.906 kB / 1.424 GB, free: 4.113 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.165, allocations: 0 / 1.424 GB, free: 4.113 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/1.165, allocations: 214 kB / 1.424 GB, free: 3.934 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/1.165, allocations: 88.5 kB / 1.424 GB, free: 3.832 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/1.165, allocations: 9.094 kB / 1.424 GB, free: 3.824 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/1.165, allocations: 12.42 kB / 1.424 GB, free: 3.816 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/1.165, allocations: 2.281 kB / 1.424 GB, free: 3.816 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/1.165, allocations: 1.094 kB / 1.424 GB, free: 3.816 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001414/1.165, allocations: 138.3 kB / 1.424 GB, free: 3.711 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/1.165, allocations: 0 / 1.424 GB, free: 3.711 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002613/1.166, allocations: 22.89 kB / 1.424 GB, free: 3.707 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 (7): * Single equations (assignments): 7 * 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.0007522/1.166, allocations: 0.7534 MB / 1.425 GB, free: 2.992 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002786/1.167, allocations: 69.7 kB / 1.425 GB, free: 2.965 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.167, allocations: 0 / 1.425 GB, free: 2.965 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/1.167, allocations: 49.66 kB / 1.425 GB, free: 2.938 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/1.167, allocations: 30.23 kB / 1.425 GB, free: 2.922 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/1.17, allocations: 1.783 MB / 1.427 GB, free: 1.426 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/1.17, allocations: 0.7026 MB / 1.427 GB, free: 0.7188 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 8.22e-05/1.17, allocations: 15.44 kB / 1.427 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.293e-05/1.17, allocations: 36.8 kB / 1.427 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of SimCode: time 4.51e-07/1.17, allocations: 0 / 1.427 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/1.195, allocations: 3.193 MB / 1.43 GB, free: 15.04 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/9.099, allocations: 8.719 kB / 1.43 GB, free: 15.04 MB / 1.123 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_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_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.249588671984384] Failed to read output from testmodel.py, exit status != 0: 9.167269274010323 9.183130601 8.021325334 Calling exit ...