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.0008715/0.0008715, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008839/0.0008839, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8777/0.8777, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.5057/0.5057, allocations: 80.17 MB / 339.4 MB, free: 7.531 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.262e-06/1.262e-06, allocations: 0 / 0.4924 GB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.79e-05, allocations: 12.06 kB / 0.4924 GB, free: 6.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.02299/0.023, allocations: 37.73 MB / 0.5292 GB, free: 2.633 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006777/0.02978, allocations: 6.913 MB / 0.536 GB, free: 11.7 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008289/0.03061, allocations: 55.5 kB / 0.536 GB, free: 11.64 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.03162, allocations: 0.5002 MB / 0.5365 GB, free: 11.14 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002533/0.03415, allocations: 1.455 MB / 0.5379 GB, free: 9.676 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.03578, allocations: 0.9455 MB / 0.5389 GB, free: 8.73 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002307/0.03808, allocations: 2.232 MB / 0.541 GB, free: 6.488 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.0384, allocations: 157 kB / 0.5412 GB, free: 6.32 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.04056, allocations: 1.553 MB / 0.5427 GB, free: 4.762 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005354/0.04109, allocations: 0.6153 MB / 0.5433 GB, free: 4.145 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.04119, allocations: 100 kB / 0.5434 GB, free: 4.047 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.04253, allocations: 0.7563 MB / 0.5441 GB, free: 3.289 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.04273, allocations: 270.7 kB / 0.5444 GB, free: 3.023 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000331/0.04306, allocations: 474.8 kB / 0.5449 GB, free: 2.559 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.04498, allocations: 1.908 MB / 0.5467 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.04499, allocations: 0 / 0.5467 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.04499, allocations: 0 / 0.5467 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.045, 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.001851/0.04685, allocations: 1.653 MB / 0.5483 GB, free: 14.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.04689, allocations: 13.47 kB / 0.5483 GB, free: 14.94 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.04701, allocations: 139.4 kB / 0.5485 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004117/0.04742, allocations: 214.3 kB / 0.5487 GB, free: 14.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009801/0.0484, allocations: 0.7834 MB / 0.5495 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.04849, allocations: 117.4 kB / 0.5496 GB, free: 13.65 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-05/0.04858, allocations: 103.9 kB / 0.5497 GB, free: 13.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.04975, allocations: 1.4 MB / 0.551 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.04977, allocations: 3.938 kB / 0.551 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.04983, allocations: 43.94 kB / 0.5511 GB, free: 11.97 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.04985, allocations: 20 kB / 0.5511 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.0509, allocations: 0.9172 MB / 0.552 GB, free: 11.04 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.05468, allocations: 3.438 MB / 0.5553 GB, free: 7.496 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.05584, allocations: 0.8819 MB / 0.5562 GB, free: 6.602 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004652/0.0563, allocations: 420.8 kB / 0.5566 GB, free: 6.188 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001644/0.05795, allocations: 1.336 MB / 0.5579 GB, free: 4.828 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.05798, allocations: 51 kB / 0.558 GB, free: 4.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=99): time 2.124e-06/0.05798, allocations: 0 / 0.558 GB, free: 4.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=112): time 0.005885/0.06387, allocations: 3.816 MB / 0.5617 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.06391, allocations: 90.11 kB / 0.5618 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006692/0.06458, allocations: 0.8096 MB / 0.5626 GB, free: 15.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.06464, allocations: 45.7 kB / 0.5626 GB, free: 15.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.06489, allocations: 0.505 MB / 0.5631 GB, free: 15.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.06507, allocations: 404.4 kB / 0.5635 GB, free: 14.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.06526, allocations: 198.9 kB / 0.5637 GB, free: 14.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.06536, allocations: 349.9 kB / 0.564 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/0.06586, allocations: 386.4 kB / 0.5644 GB, free: 14.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.06644, allocations: 0.5751 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.001228/0.06766, allocations: 1.033 MB / 0.5659 GB, free: 12.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.06767, allocations: 8.094 kB / 0.566 GB, free: 12.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0021/0.06977, allocations: 1.49 MB / 0.5674 GB, free: 10.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.06979, allocations: 8 kB / 0.5674 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008344/0.07062, allocations: 0.6689 MB / 0.5681 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/0.07124, allocations: 350.5 kB / 0.5684 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.07166, allocations: 211.7 kB / 0.5686 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006332/0.07799, allocations: 11.7 MB / 0.58 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.07847, allocations: 48.09 kB / 0.5801 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/0.07854, allocations: 51.92 kB / 0.5801 GB, free: 12.79 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.0003639/0.0789, allocations: 255.2 kB / 0.5804 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.07907, allocations: 127.2 kB / 0.5805 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.0811, allocations: 1.605 MB / 0.5821 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.08111, allocations: 12.06 kB / 0.5821 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.08111, allocations: 12 kB / 0.5821 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.08112, allocations: 8.109 kB / 0.5821 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/0.0841, allocations: 2.518 MB / 0.5846 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0008456/0.08494, allocations: 0.6885 MB / 0.5852 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.08533, allocations: 175.8 kB / 0.5854 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005783/0.0859, allocations: 350.5 kB / 0.5857 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.479e-05/0.08596, allocations: 31.98 kB / 0.5858 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006482/0.09244, allocations: 11.72 MB / 0.5972 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.09244, allocations: 0 / 0.5972 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/0.09507, allocations: 2.102 MB / 0.5993 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.0953, allocations: 111.4 kB / 0.5994 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.45e-05/0.09539, allocations: 23.94 kB / 0.5994 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.09579, allocations: 59.95 kB / 0.5994 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.09598, allocations: 104.9 kB / 0.5995 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/0.09603, allocations: 39.97 kB / 0.5996 GB, free: 7.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004983/0.09653, allocations: 0.5598 MB / 0.6001 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/0.09653, allocations: 0 / 0.6001 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001367/0.0979, allocations: 455.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.003032/0.1009, allocations: 2.952 MB / 0.6034 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.1029, allocations: 1.989 MB / 0.6054 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1029, allocations: 0 / 0.6054 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.1042, allocations: 1.53 MB / 0.6069 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.1056, allocations: 0.5241 MB / 0.6074 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.1167, allocations: 9.928 MB / 0.6171 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.1171, allocations: 0.5058 MB / 0.6176 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006213/0.1177, allocations: 217.2 kB / 0.6178 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004414/0.1182, allocations: 476.3 kB / 0.6182 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of SimCode: time 9.32e-07/0.1182, allocations: 0 / 0.6182 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2709/0.389, allocations: 41.4 MB / 0.6587 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.764/10.15, allocations: 5.609 kB / 0.6587 GB, free: 126.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 12.512030986137688] Failed to read output from testmodel.py, exit status != 0: 10.26613954640925 10.273652738000001 10.226869486 Calling exit ...