Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.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.0008832/0.0008832, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.000929/0.000929, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.9197/0.9197, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.5387/0.5387, allocations: 80.18 MB / 339.4 MB, free: 7.551 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/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(ThermofluidStream.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.4924 GB, free: 6.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.919e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.02295/0.02297, allocations: 37.74 MB / 0.5292 GB, free: 2.625 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006807/0.02978, allocations: 6.909 MB / 0.536 GB, free: 11.7 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.03094, allocations: 59.5 kB / 0.536 GB, free: 11.64 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.03205, allocations: 0.4924 MB / 0.5365 GB, free: 11.14 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.03498, allocations: 1.451 MB / 0.5379 GB, free: 9.68 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.03687, allocations: 0.9531 MB / 0.5389 GB, free: 8.727 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00232/0.03919, allocations: 2.244 MB / 0.5411 GB, free: 6.473 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003271/0.03951, allocations: 156.9 kB / 0.5412 GB, free: 6.305 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.04201, allocations: 1.546 MB / 0.5427 GB, free: 4.754 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007546/0.04276, allocations: 0.6114 MB / 0.5433 GB, free: 4.141 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.0429, allocations: 96 kB / 0.5434 GB, free: 4.047 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.04452, allocations: 0.7641 MB / 0.5442 GB, free: 3.281 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.04473, allocations: 274.7 kB / 0.5444 GB, free: 3.012 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004269/0.04516, allocations: 474.8 kB / 0.5449 GB, free: 2.547 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.04757, allocations: 1.897 MB / 0.5467 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.04757, allocations: 0 / 0.5467 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.04757, allocations: 0 / 0.5467 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.51e-05/0.0476, allocations: 0 / 0.5467 GB, free: 0.6445 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.00224/0.04984, allocations: 1.667 MB / 0.5483 GB, free: 14.94 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.04989, allocations: 9.469 kB / 0.5484 GB, free: 14.93 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.05001, allocations: 135.5 kB / 0.5485 GB, free: 14.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004847/0.0505, allocations: 215.7 kB / 0.5487 GB, free: 14.58 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.05165, allocations: 0.7872 MB / 0.5495 GB, free: 13.76 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-05/0.05175, allocations: 125.4 kB / 0.5496 GB, free: 13.62 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.05187, allocations: 88 kB / 0.5497 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.05317, allocations: 1.396 MB / 0.551 GB, free: 12.01 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.0532, allocations: 4 kB / 0.551 GB, free: 12.01 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-05/0.05326, allocations: 36 kB / 0.5511 GB, free: 11.97 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.05327, allocations: 24 kB / 0.5511 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.05434, allocations: 0.925 MB / 0.552 GB, free: 11.02 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003808/0.05815, allocations: 3.438 MB / 0.5553 GB, free: 7.484 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.05937, allocations: 0.8847 MB / 0.5562 GB, free: 6.586 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/0.05994, allocations: 424.6 kB / 0.5566 GB, free: 6.172 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001867/0.0618, allocations: 1.332 MB / 0.5579 GB, free: 4.816 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.06183, allocations: 47.06 kB / 0.558 GB, free: 4.762 MB / 474.7 MB Notification: Performance of pre-optimization done (n=99): time 2.705e-06/0.06184, allocations: 0 / 0.558 GB, free: 4.762 MB / 474.7 MB Notification: Performance of matching and sorting (n=112): time 0.005874/0.06771, allocations: 3.823 MB / 0.5617 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.06776, allocations: 90.11 kB / 0.5618 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007614/0.06852, allocations: 0.8096 MB / 0.5626 GB, free: 15.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.364e-05/0.06858, allocations: 49.7 kB / 0.5626 GB, free: 15.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.06883, allocations: 0.501 MB / 0.5631 GB, free: 15.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.06914, allocations: 412.4 kB / 0.5635 GB, free: 14.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.06933, allocations: 187 kB / 0.5637 GB, free: 14.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.06942, allocations: 349.9 kB / 0.564 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/0.06994, allocations: 386.4 kB / 0.5644 GB, free: 14.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/0.07054, allocations: 0.5736 MB / 0.5649 GB, free: 13.39 MB / 490.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.07179, allocations: 1.041 MB / 0.566 GB, free: 12.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.07179, allocations: 0 / 0.566 GB, free: 12.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001986/0.07378, allocations: 1.502 MB / 0.5674 GB, free: 10.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.0738, allocations: 8 kB / 0.5674 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000872/0.07467, allocations: 0.6728 MB / 0.5681 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006715/0.07534, allocations: 346.5 kB / 0.5684 GB, free: 9.688 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004384/0.07578, allocations: 203.7 kB / 0.5686 GB, free: 9.488 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006094/0.08187, allocations: 11.71 MB / 0.5801 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005651/0.08244, allocations: 44.16 kB / 0.5801 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.689e-05/0.08251, allocations: 55.92 kB / 0.5801 GB, free: 12.77 MB / 0.4948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (115): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,6,100.0%), (1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003963/0.08291, allocations: 245.6 kB / 0.5804 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.08311, allocations: 131.2 kB / 0.5805 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.08523, allocations: 1.598 MB / 0.5821 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.08524, allocations: 16 kB / 0.5821 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.08526, allocations: 4 kB / 0.5821 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.08526, allocations: 3.984 kB / 0.5821 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003449/0.08871, allocations: 2.518 MB / 0.5845 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000885/0.0896, allocations: 0.6846 MB / 0.5852 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.09002, allocations: 179.8 kB / 0.5854 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006683/0.09069, allocations: 366.5 kB / 0.5857 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.549e-05/0.09076, allocations: 39.97 kB / 0.5858 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006406/0.09717, allocations: 11.72 MB / 0.5972 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.09717, allocations: 0 / 0.5972 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/0.1, allocations: 2.091 MB / 0.5993 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.1002, allocations: 107.1 kB / 0.5994 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.1003, allocations: 31.98 kB / 0.5994 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.1007, allocations: 55.95 kB / 0.5994 GB, free: 7.867 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.1009, allocations: 100.8 kB / 0.5995 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.101, allocations: 43.98 kB / 0.5996 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005172/0.1015, allocations: 0.5637 MB / 0.6001 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1015, allocations: 0 / 0.6001 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00114/0.1026, allocations: 447.7 kB / 0.6006 GB, free: 6.715 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (reservoir1.M,reservoir1.U_med,pump.m_flow,conductionElement.h,reservoir.M,reservoir.U_med,flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow) * 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 (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,6,100.0%), (1,4,100.0%), (1,1,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003118/0.1057, allocations: 2.962 MB / 0.6035 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002195/0.1079, allocations: 1.981 MB / 0.6054 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1079, allocations: 0 / 0.6054 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.1092, allocations: 1.539 MB / 0.6069 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.1106, allocations: 0.5289 MB / 0.6074 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.1222, allocations: 9.911 MB / 0.6171 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.1226, allocations: 0.5136 MB / 0.6176 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007039/0.1233, allocations: 217.2 kB / 0.6178 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/0.1238, allocations: 480.3 kB / 0.6183 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/0.1238, allocations: 0 / 0.6183 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2703/0.3941, allocations: 41.4 MB / 0.6587 GB, free: 126.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.219/9.613, allocations: 8.719 kB / 0.6587 GB, free: 126.8 MB / 0.5417 GB " [Timeout remaining time 650] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 12.234888292849064] Failed to read output from testmodel.py, exit status != 0: 9.725388939492404 9.732642614 9.683582011 Calling exit ...