Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.00208/0.00208, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002269/0.002269, allocations: 210.7 kB / 23.02 MB, free: 4.953 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7875/0.7875, allocations: 94.62 MB / 407.8 MB, free: 8.926 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="cs",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.002552/0.002552, allocations: 84.16 kB / 0.5557 GB, free: 38.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.127, allocations: 73.06 MB / 0.627 GB, free: 216 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.0501/0.1771, allocations: 37.55 MB / 0.6637 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009422/0.1865, allocations: 4.946 MB / 0.6685 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.188, allocations: 59.44 kB / 0.6686 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.19, allocations: 0.4966 MB / 0.6691 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005018/0.195, allocations: 1.367 MB / 0.6704 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003132/0.1981, allocations: 0.8941 MB / 0.6713 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004044/0.2022, allocations: 2.186 MB / 0.6734 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007285/0.2029, allocations: 161.4 kB / 0.6736 GB, free: 380 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004611/0.2075, allocations: 1.381 MB / 0.6749 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/0.2095, allocations: 0.7894 MB / 0.6757 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005808/0.2101, allocations: 100 kB / 0.6758 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003121/0.2132, allocations: 0.6827 MB / 0.6765 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007792/0.214, allocations: 278.8 kB / 0.6767 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.2154, allocations: 0.5403 MB / 0.6773 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004798/0.2202, allocations: 1.844 MB / 0.6791 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2202, allocations: 4 kB / 0.6791 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2202, allocations: 0 / 0.6791 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.329e-05/0.2203, allocations: 0 / 0.6791 GB, free: 10.74 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.004164/0.2244, allocations: 1.625 MB / 0.6807 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2245, allocations: 8.031 kB / 0.6807 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.441e-05/0.2245, allocations: 26.19 kB / 0.6807 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002399/0.2248, allocations: 139.9 kB / 0.6808 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007815/0.2256, allocations: 184 kB / 0.681 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.2275, allocations: 0.7845 MB / 0.6818 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.939e-05/0.2276, allocations: 73.98 kB / 0.6818 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.2278, allocations: 99.95 kB / 0.6819 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.2303, allocations: 1.321 MB / 0.6832 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.2303, allocations: 4 kB / 0.6832 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.2304, allocations: 40 kB / 0.6833 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.2305, allocations: 20 kB / 0.6833 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.2326, allocations: 1.02 MB / 0.6843 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006144/0.2387, allocations: 3.043 MB / 0.6872 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.2407, allocations: 0.8694 MB / 0.6881 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000874/0.2416, allocations: 432.2 kB / 0.6885 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003423/0.245, allocations: 1.356 MB / 0.6898 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.2451, allocations: 47.16 kB / 0.6899 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=108): time 3.316e-06/0.2451, allocations: 0 / 0.6899 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122): time 0.0121/0.2572, allocations: 4.019 MB / 0.6938 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.2573, allocations: 90.2 kB / 0.6939 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.2585, allocations: 0.76 MB / 0.6946 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.2587, allocations: 53.7 kB / 0.6947 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004243/0.2591, allocations: 485.4 kB / 0.6951 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004319/0.2596, allocations: 436.2 kB / 0.6956 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.2599, allocations: 194.9 kB / 0.6957 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2601, allocations: 353.9 kB / 0.6961 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009561/0.261, allocations: 406.4 kB / 0.6965 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.2622, allocations: 0.5764 MB / 0.697 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/0.2643, allocations: 1.045 MB / 0.6981 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.2643, allocations: 0 / 0.6981 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003732/0.2681, allocations: 1.485 MB / 0.6995 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.2681, allocations: 12.03 kB / 0.6995 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.2681, allocations: 4 kB / 0.6995 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.2693, allocations: 310.6 kB / 0.6998 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.2703, allocations: 235.6 kB / 0.7 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.2813, allocations: 11.27 MB / 0.711 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.2823, allocations: 43.97 kB / 0.7111 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.2825, allocations: 51.98 kB / 0.7111 GB, free: 8.344 MB / 0.545 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.000622/0.2831, allocations: 253.7 kB / 0.7114 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003683/0.2835, allocations: 131.2 kB / 0.7115 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/0.2879, allocations: 1.793 MB / 0.7133 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.2879, allocations: 15.94 kB / 0.7133 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.2879, allocations: 4 kB / 0.7133 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/0.2879, allocations: 3.984 kB / 0.7133 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005818/0.2938, allocations: 2.558 MB / 0.7158 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.2938, allocations: 4.125 kB / 0.7158 GB, free: 3.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009935/0.2948, allocations: 199.8 kB / 0.716 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.296, allocations: 314.9 kB / 0.7163 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/0.2961, allocations: 39.97 kB / 0.7163 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/0.3075, allocations: 11.27 MB / 0.7273 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.3075, allocations: 7.969 kB / 0.7273 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005132/0.3127, allocations: 2.119 MB / 0.7294 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003592/0.313, allocations: 107.2 kB / 0.7295 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003194/0.3134, allocations: 24 kB / 0.7295 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009196/0.3143, allocations: 55.94 kB / 0.7296 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003153/0.3146, allocations: 112.8 kB / 0.7297 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/0.3147, allocations: 43.97 kB / 0.7297 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009552/0.3157, allocations: 0.5633 MB / 0.7303 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.3157, allocations: 0 / 0.7303 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001869/0.3176, allocations: 407.7 kB / 0.7307 GB, free: 3.203 MB / 0.5606 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.005909/0.3235, allocations: 2.917 MB / 0.7335 GB, free: 228 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004168/0.3276, allocations: 1.992 MB / 0.7355 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.3276, allocations: 7.938 kB / 0.7355 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002963/0.3306, allocations: 1.539 MB / 0.737 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.3327, allocations: 339.4 kB / 0.7373 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02111/0.3538, allocations: 10.02 MB / 0.7471 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006688/0.3545, allocations: 0.5014 MB / 0.7476 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009973/0.3555, allocations: 232.9 kB / 0.7478 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008358/0.3563, allocations: 479.3 kB / 0.7482 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.3563, allocations: 0 / 0.7482 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4562/0.8126, allocations: 37.04 MB / 0.7844 GB, free: 97.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.94/16.75, allocations: 6.406 kB / 0.7844 GB, free: 97.38 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 20.48860915203113] Failed to read output from testmodel.py, exit status != 0: 16.975903321057558 16.994489471 16.770458915 Calling exit ...