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.001002/0.001002, allocations: 73.09 kB / 20.66 MB, free: 3.84 MB / 18.57 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.0009852/0.0009852, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.9569/0.9569, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6803/0.6803, allocations: 118.7 MB / 379.7 MB, free: 1.355 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 484.8 MB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.292e-05, allocations: 2.312 kB / 484.8 MB, free: 8.102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.00662/0.006633, allocations: 10.33 MB / 495.2 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003859/0.01049, allocations: 3.088 MB / 498.3 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005729/0.01107, allocations: 66 kB / 498.3 MB, free: 14.85 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005312/0.0116, allocations: 250.5 kB / 498.6 MB, free: 14.71 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.01333, allocations: 1.031 MB / 499.6 MB, free: 14.02 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.01447, allocations: 0.6229 MB / 0.4885 GB, free: 13.7 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002097/0.01657, allocations: 2.282 MB / 0.4907 GB, free: 12.53 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.01684, allocations: 152.3 kB / 0.4909 GB, free: 12.45 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.01846, allocations: 1.231 MB / 0.4921 GB, free: 11.97 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000788/0.01925, allocations: 0.6213 MB / 0.4927 GB, free: 11.77 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.0194, allocations: 95.09 kB / 0.4928 GB, free: 11.77 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005944/0.02, allocations: 334 kB / 0.4931 GB, free: 11.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.02023, allocations: 273.3 kB / 0.4934 GB, free: 11.26 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.02061, allocations: 477.6 kB / 0.4938 GB, free: 10.83 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.02186, allocations: 1.327 MB / 0.4951 GB, free: 9.727 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.02186, allocations: 4 kB / 0.4951 GB, free: 9.723 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.02186, allocations: 0 / 0.4951 GB, free: 9.723 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.02187, allocations: 0 / 0.4951 GB, free: 9.723 MB / 426.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.001965/0.02384, allocations: 1.769 MB / 0.4968 GB, free: 8.082 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.66e-05/0.02387, allocations: 12.03 kB / 0.4969 GB, free: 8.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005138/0.02438, allocations: 312.5 kB / 0.4972 GB, free: 7.785 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009184/0.0253, allocations: 0.871 MB / 0.498 GB, free: 6.992 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-05/0.02538, allocations: 123.3 kB / 0.4981 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.02549, allocations: 101.6 kB / 0.4982 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008893/0.02638, allocations: 1.103 MB / 0.4993 GB, free: 5.684 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.02639, allocations: 0 / 0.4993 GB, free: 5.684 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/0.02645, allocations: 44.66 kB / 0.4993 GB, free: 5.641 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.02647, allocations: 20 kB / 0.4994 GB, free: 5.621 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/0.02694, allocations: 389 kB / 0.4997 GB, free: 5.262 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003089/0.03003, allocations: 3.623 MB / 0.5033 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008963/0.03093, allocations: 0.7004 MB / 0.5039 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.03116, allocations: 229.5 kB / 0.5042 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/0.03244, allocations: 1.336 MB / 0.5055 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.03246, allocations: 53.83 kB / 0.5055 GB, free: 15.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=99): time 1.984e-06/0.03247, allocations: 0 / 0.5055 GB, free: 15.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=112): time 0.004044/0.03651, allocations: 2.549 MB / 0.508 GB, free: 12.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.03654, allocations: 90.11 kB / 0.5081 GB, free: 12.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.03704, allocations: 0.7856 MB / 0.5089 GB, free: 11.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/0.0371, allocations: 45.7 kB / 0.5089 GB, free: 11.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.03736, allocations: 0.5778 MB / 0.5095 GB, free: 10.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.03756, allocations: 412.4 kB / 0.5099 GB, free: 10.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.03777, allocations: 212.4 kB / 0.5101 GB, free: 10.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.03788, allocations: 0.5198 MB / 0.5106 GB, free: 9.812 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.03809, allocations: 154.5 kB / 0.5107 GB, free: 9.664 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.03841, allocations: 427.1 kB / 0.5111 GB, free: 9.152 MB / 442.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.0006413/0.03905, allocations: 0.6789 MB / 0.5118 GB, free: 8.379 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.03906, allocations: 3.938 kB / 0.5118 GB, free: 8.375 MB / 442.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001302/0.04036, allocations: 1.071 MB / 0.5128 GB, free: 7.262 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.04037, allocations: 8 kB / 0.5129 GB, free: 7.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005381/0.04091, allocations: 444.1 kB / 0.5133 GB, free: 6.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006692/0.04158, allocations: 353.1 kB / 0.5136 GB, free: 6.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.04222, allocations: 199.7 kB / 0.5138 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006196/0.04841, allocations: 14.85 MB / 0.5283 GB, free: 6.473 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.04873, allocations: 32 kB / 0.5283 GB, free: 6.441 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.04878, allocations: 36.05 kB / 0.5284 GB, free: 6.406 MB / 458.7 MB 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.0002287/0.04901, allocations: 232.4 kB / 0.5286 GB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.0492, allocations: 171.1 kB / 0.5288 GB, free: 6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.05063, allocations: 1.179 MB / 0.5299 GB, free: 4.762 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.05063, allocations: 12 kB / 0.5299 GB, free: 4.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.05064, allocations: 8 kB / 0.5299 GB, free: 4.742 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.05065, allocations: 3.984 kB / 0.5299 GB, free: 4.738 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.05272, allocations: 1.891 MB / 0.5318 GB, free: 2.773 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005966/0.05331, allocations: 464.4 kB / 0.5322 GB, free: 2.297 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.05371, allocations: 167.8 kB / 0.5324 GB, free: 2.133 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007014/0.05441, allocations: 369 kB / 0.5327 GB, free: 1.738 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.05446, allocations: 31.97 kB / 0.5328 GB, free: 1.707 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005845/0.06031, allocations: 14.84 MB / 0.5473 GB, free: 1.953 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.06031, allocations: 3.938 kB / 0.5473 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.06187, allocations: 1.47 MB / 0.5487 GB, free: 428 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.06213, allocations: 211 kB / 0.5489 GB, free: 216 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.746e-05/0.06222, allocations: 24 kB / 0.5489 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.06257, allocations: 43.97 kB / 0.549 GB, free: 148 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.06272, allocations: 108.8 kB / 0.5491 GB, free: 40 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.896e-05/0.06276, allocations: 31.98 kB / 0.5491 GB, free: 8 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003091/0.06307, allocations: 493.7 kB / 0.5496 GB, free: 15.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06307, allocations: 4 kB / 0.5496 GB, free: 15.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008286/0.0639, allocations: 383.8 kB / 0.5499 GB, free: 15.14 MB / 490.7 MB 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 (90): * Single equations (assignments): 82 * 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.000247/0.06415, allocations: 194.9 kB / 0.5501 GB, free: 14.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.06556, allocations: 2.058 MB / 0.5521 GB, free: 12.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.06556, allocations: 4 kB / 0.5521 GB, free: 12.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.06661, allocations: 1.795 MB / 0.5539 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.06786, allocations: 0.5262 MB / 0.5544 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.07076, allocations: 2.4 MB / 0.5567 GB, free: 7.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.07093, allocations: 232.1 kB / 0.557 GB, free: 7.586 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004995/0.07143, allocations: 213.2 kB / 0.5572 GB, free: 7.375 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007212/0.07215, allocations: 0.4901 MB / 0.5576 GB, free: 6.883 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.07216, allocations: 0 / 0.5576 GB, free: 6.883 MB / 490.7 MB Notification: Performance of Templates: time 0.0284/0.1006, allocations: 27.51 MB / 0.5845 GB, free: 11.9 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.makefile [Timeout 660] (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 & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.Reservoir_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.256293638143688]