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.001659/0.001659, 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.001879/0.001879, allocations: 165.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 1.304/1.304, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.9198/0.9198, allocations: 80.18 MB / 339.4 MB, free: 7.559 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.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.278e-06/4.278e-06, allocations: 3.938 kB / 0.4924 GB, free: 6.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.152e-05/4.58e-05, allocations: 5.5 kB / 0.4924 GB, free: 6.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.04177/0.04181, allocations: 39.35 MB / 0.5308 GB, free: 1.008 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009223/0.05103, allocations: 3.889 MB / 0.5346 GB, free: 13.11 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.05357, allocations: 59.44 kB / 0.5347 GB, free: 13.05 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.05576, allocations: 0.5118 MB / 0.5352 GB, free: 12.53 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006673/0.06243, allocations: 1.505 MB / 0.5366 GB, free: 11.02 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003751/0.06618, allocations: 0.9378 MB / 0.5376 GB, free: 10.08 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004957/0.07114, allocations: 2.371 MB / 0.5399 GB, free: 7.695 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008847/0.07202, allocations: 173.4 kB / 0.54 GB, free: 7.516 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005628/0.07765, allocations: 1.744 MB / 0.5417 GB, free: 5.766 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.07915, allocations: 0.6581 MB / 0.5424 GB, free: 5.105 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005355/0.07969, allocations: 108 kB / 0.5425 GB, free: 5 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/0.08276, allocations: 0.6783 MB / 0.5431 GB, free: 4.32 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.08312, allocations: 286.7 kB / 0.5434 GB, free: 4.039 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008913/0.08401, allocations: 490.8 kB / 0.5439 GB, free: 3.559 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004546/0.08856, allocations: 1.912 MB / 0.5458 GB, free: 1.641 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.08857, allocations: 0 / 0.5458 GB, free: 1.641 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.08857, allocations: 0 / 0.5458 GB, free: 1.641 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.281e-05/0.08866, allocations: 8 kB / 0.5458 GB, free: 1.633 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.004496/0.09316, allocations: 1.644 MB / 0.5474 GB, free: 15.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.518e-05/0.09323, allocations: 13.47 kB / 0.5474 GB, free: 15.94 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001767/0.09341, allocations: 143.9 kB / 0.5475 GB, free: 15.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006846/0.09409, allocations: 188 kB / 0.5477 GB, free: 15.61 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/0.09609, allocations: 0.7996 MB / 0.5485 GB, free: 14.78 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/0.09615, allocations: 78.38 kB / 0.5486 GB, free: 14.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.09628, allocations: 100.1 kB / 0.5487 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.09835, allocations: 1.338 MB / 0.55 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.09837, allocations: 4 kB / 0.55 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003354/0.09871, allocations: 36 kB / 0.55 GB, free: 13.12 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.09873, allocations: 24 kB / 0.55 GB, free: 13.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.1003, allocations: 1.016 MB / 0.551 GB, free: 12.08 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005392/0.1057, allocations: 3.233 MB / 0.5542 GB, free: 8.766 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.1074, allocations: 0.877 MB / 0.555 GB, free: 7.879 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.1079, allocations: 442.9 kB / 0.5554 GB, free: 7.445 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002803/0.1107, allocations: 1.345 MB / 0.5568 GB, free: 6.082 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.1108, allocations: 51.11 kB / 0.5568 GB, free: 6.023 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 3.506e-06/0.1108, allocations: 4 kB / 0.5568 GB, free: 6.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=122): time 0.00855/0.1194, allocations: 4.035 MB / 0.5608 GB, free: 1.891 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.1194, allocations: 90.27 kB / 0.5608 GB, free: 1.777 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.1206, allocations: 0.7972 MB / 0.5616 GB, free: 0.957 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.495e-05/0.1207, allocations: 45.7 kB / 0.5617 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/0.121, allocations: 0.4896 MB / 0.5621 GB, free: 420 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.1214, allocations: 440.4 kB / 0.5626 GB, free: 15.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/0.1217, allocations: 194.9 kB / 0.5627 GB, free: 15.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003553/0.122, allocations: 353.7 kB / 0.5631 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007443/0.1228, allocations: 410.4 kB / 0.5635 GB, free: 15.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.1238, allocations: 0.5859 MB / 0.564 GB, free: 14.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.1256, allocations: 1.063 MB / 0.5651 GB, free: 13.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/0.1256, allocations: 7.984 kB / 0.5651 GB, free: 13.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002572/0.1282, allocations: 1.506 MB / 0.5666 GB, free: 11.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.1282, allocations: 8.531 kB / 0.5666 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.1282, allocations: 8 kB / 0.5666 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007662/0.129, allocations: 306.6 kB / 0.5669 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/0.1296, allocations: 231.7 kB / 0.5671 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.1406, allocations: 11.25 MB / 0.5781 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.142, allocations: 51.97 kB / 0.5781 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.1421, allocations: 43.98 kB / 0.5782 GB, free: 14.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (126): * Single equations (assignments): 118 * 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.0007468/0.1429, allocations: 265.7 kB / 0.5784 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.1431, allocations: 135.1 kB / 0.5786 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002922/0.146, allocations: 1.8 MB / 0.5803 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.146, allocations: 12 kB / 0.5803 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.1461, allocations: 4 kB / 0.5803 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.1461, allocations: 3.984 kB / 0.5803 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/0.1502, allocations: 2.568 MB / 0.5828 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.1503, allocations: 0 / 0.5828 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005231/0.1508, allocations: 203.9 kB / 0.583 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007464/0.1515, allocations: 318.5 kB / 0.5833 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.1517, allocations: 39.97 kB / 0.5834 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009683/0.1613, allocations: 11.26 MB / 0.5944 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1613, allocations: 7.969 kB / 0.5944 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003769/0.1651, allocations: 2.111 MB / 0.5964 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.1654, allocations: 111.2 kB / 0.5965 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.1656, allocations: 28 kB / 0.5966 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.166, allocations: 51.95 kB / 0.5966 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003065/0.1663, allocations: 112.8 kB / 0.5967 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.703e-05/0.1664, allocations: 43.97 kB / 0.5968 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001015/0.1674, allocations: 0.5759 MB / 0.5973 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1674, allocations: 0 / 0.5973 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001732/0.1692, allocations: 435.7 kB / 0.5977 GB, free: 9.68 MB / 0.5105 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.004777/0.1739, allocations: 2.935 MB / 0.6006 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003597/0.1775, allocations: 1.997 MB / 0.6026 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.1776, allocations: 4 kB / 0.6026 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002066/0.1796, allocations: 1.535 MB / 0.6041 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.1821, allocations: 0.5302 MB / 0.6046 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/0.2008, allocations: 10.07 MB / 0.6144 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.2014, allocations: 0.5178 MB / 0.6149 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001198/0.2026, allocations: 239.8 kB / 0.6152 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006612/0.2033, allocations: 496.3 kB / 0.6156 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of SimCode: time 3.577e-06/0.2033, allocations: 4 kB / 0.6156 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4859/0.6892, allocations: 41.72 MB / 0.6564 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.47, allocations: 5.344 kB / 0.6564 GB, free: 130.7 MB / 0.5417 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Undirected.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_Undirected_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 17.5868754144758] Failed to read output from testmodel.py, exit status != 0: 13.593016508035362 13.606796253 13.515923004 Calling exit ...