Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.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.001999/0.001999, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.00346/0.00346, allocations: 212.8 kB / 22.24 MB, free: 5.246 MB / 14.72 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 1.613/1.613, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.001/1.001, allocations: 100.9 MB / 413.3 MB, free: 2.859 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004015/0.004015, allocations: 85.62 kB / 0.5641 GB, free: 35.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2151, allocations: 74.61 MB / 0.6369 GB, free: 6.465 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.04998/0.2651, allocations: 37.58 MB / 0.6736 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.2756, allocations: 4.97 MB / 0.6785 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.2777, allocations: 59.44 kB / 0.6786 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.2801, allocations: 0.4888 MB / 0.679 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005943/0.2861, allocations: 1.371 MB / 0.6804 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003742/0.2898, allocations: 0.8985 MB / 0.6812 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004915/0.2947, allocations: 2.165 MB / 0.6834 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006457/0.2954, allocations: 161.4 kB / 0.6835 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004845/0.3002, allocations: 1.373 MB / 0.6849 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.3023, allocations: 0.7309 MB / 0.6856 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005403/0.3029, allocations: 100 kB / 0.6857 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/0.306, allocations: 0.6788 MB / 0.6863 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000419/0.3064, allocations: 270.8 kB / 0.6866 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009547/0.3074, allocations: 0.5403 MB / 0.6871 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004137/0.3115, allocations: 1.852 MB / 0.6889 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3115, allocations: 0 / 0.6889 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.246e-06/0.3115, allocations: 0 / 0.6889 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.171e-05/0.3115, allocations: 0 / 0.6889 GB, free: 1.031 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004103/0.3156, allocations: 1.625 MB / 0.6905 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/0.3157, allocations: 9.469 kB / 0.6905 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002078/0.3159, allocations: 139.9 kB / 0.6907 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007199/0.3166, allocations: 187.9 kB / 0.6908 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.3187, allocations: 0.7886 MB / 0.6916 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.909e-05/0.3188, allocations: 69.94 kB / 0.6917 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.3189, allocations: 95.98 kB / 0.6918 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.3212, allocations: 1.328 MB / 0.6931 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.3212, allocations: 0 / 0.6931 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.123e-05/0.3213, allocations: 36 kB / 0.6931 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.3213, allocations: 24 kB / 0.6931 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.3233, allocations: 1.012 MB / 0.6941 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006156/0.3294, allocations: 3.042 MB / 0.6971 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.3314, allocations: 0.8655 MB / 0.6979 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008596/0.3323, allocations: 433.8 kB / 0.6983 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003459/0.3357, allocations: 1.344 MB / 0.6996 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/0.3358, allocations: 59.16 kB / 0.6997 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=108): time 3.888e-06/0.3358, allocations: 0 / 0.6997 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122): time 0.01126/0.3471, allocations: 4.018 MB / 0.7036 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.3471, allocations: 94.19 kB / 0.7037 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.3484, allocations: 0.7678 MB / 0.7045 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.3485, allocations: 49.7 kB / 0.7045 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005062/0.349, allocations: 489.4 kB / 0.705 GB, free: 144 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005025/0.3495, allocations: 448.1 kB / 0.7054 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003549/0.3499, allocations: 198.9 kB / 0.7056 GB, free: 15.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.3501, allocations: 345.9 kB / 0.7059 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009395/0.351, allocations: 406.4 kB / 0.7063 GB, free: 14.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.3522, allocations: 0.5764 MB / 0.7069 GB, free: 14.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.3543, allocations: 1.052 MB / 0.7079 GB, free: 13.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.974e-06/0.3543, allocations: 4 kB / 0.7079 GB, free: 13.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003661/0.3579, allocations: 1.485 MB / 0.7094 GB, free: 11.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.358, allocations: 8 kB / 0.7094 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.358, allocations: 4.625 kB / 0.7094 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.3592, allocations: 310.6 kB / 0.7097 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009717/0.3602, allocations: 235.6 kB / 0.7099 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/0.3718, allocations: 11.26 MB / 0.7209 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.3731, allocations: 51.97 kB / 0.7209 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.3732, allocations: 47.98 kB / 0.721 GB, free: 14.66 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (124): * Single equations (assignments): 116 * 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%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006966/0.3739, allocations: 249.7 kB / 0.7212 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/0.3742, allocations: 123.2 kB / 0.7213 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/0.3783, allocations: 1.796 MB / 0.7231 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.3783, allocations: 15.94 kB / 0.7231 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.3783, allocations: 7.984 kB / 0.7231 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.3783, allocations: 3.984 kB / 0.7231 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00597/0.3843, allocations: 2.558 MB / 0.7256 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.3843, allocations: 4 kB / 0.7256 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009625/0.3853, allocations: 199.9 kB / 0.7258 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/0.3864, allocations: 318.5 kB / 0.7261 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.3866, allocations: 35.97 kB / 0.7261 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/0.3989, allocations: 11.28 MB / 0.7372 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3989, allocations: 0 / 0.7372 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005285/0.4042, allocations: 2.123 MB / 0.7392 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005487/0.4047, allocations: 103.2 kB / 0.7393 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.4049, allocations: 24 kB / 0.7394 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007861/0.4057, allocations: 59.94 kB / 0.7394 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000366/0.4061, allocations: 108.8 kB / 0.7395 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.4062, allocations: 43.97 kB / 0.7396 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001008/0.4072, allocations: 0.5672 MB / 0.7401 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4072, allocations: 0 / 0.7401 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001699/0.4089, allocations: 407.7 kB / 0.7405 GB, free: 9.508 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (reservoir.M,reservoir.U_med,flowResistance1.rear.m_flow,flowResistance2.rear.m_flow,reservoir2.M,reservoir2.U_med,flowResistance4.inlet.m_flow,flowResistance5.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 (98): * Single equations (assignments): 90 * 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,2,100.0%), (1,2,100.0%), (1,2,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.005471/0.4144, allocations: 2.92 MB / 0.7434 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004143/0.4185, allocations: 1.996 MB / 0.7453 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.4185, allocations: 0 / 0.7453 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002923/0.4214, allocations: 1.527 MB / 0.7468 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.4236, allocations: 357.9 kB / 0.7471 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4589/0.8825, allocations: 10 MB / 0.7569 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009874/0.8835, allocations: 0.5022 MB / 0.7574 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001195/0.8847, allocations: 223.9 kB / 0.7576 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006853/0.8854, allocations: 484.6 kB / 0.7581 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.553e-06/0.8854, allocations: 0 / 0.7581 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/0.9883, allocations: 37.18 MB / 0.7944 GB, free: 79.74 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.74/18.73, allocations: 14.69 kB / 0.7944 GB, free: 79.73 MB / 0.5762 GB " [Timeout remaining time 641] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 23.01299331476912] Failed to read output from testmodel.py, exit status != 0: 18.879997248761356 18.892195915 18.577789056 Calling exit ...