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.001203/0.001203, 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.0008561/0.0008561, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9747/0.9747, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.6615/0.6615, allocations: 80.18 MB / 339.4 MB, free: 7.527 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: 0 / 0.4924 GB, free: 6.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.642e-05/7.069e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.04331/0.04338, allocations: 39.37 MB / 0.5308 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.05356, allocations: 3.886 MB / 0.5346 GB, free: 13.1 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.05642, allocations: 59.44 kB / 0.5347 GB, free: 13.04 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.05886, allocations: 0.5117 MB / 0.5352 GB, free: 12.52 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006661/0.06552, allocations: 1.505 MB / 0.5366 GB, free: 11.01 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.06922, allocations: 0.9297 MB / 0.5375 GB, free: 10.08 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.005575/0.07479, allocations: 2.387 MB / 0.5399 GB, free: 7.68 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006946/0.07549, allocations: 165.4 kB / 0.54 GB, free: 7.508 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005705/0.08119, allocations: 1.744 MB / 0.5417 GB, free: 5.758 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.08272, allocations: 0.6659 MB / 0.5424 GB, free: 5.09 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003129/0.08304, allocations: 100 kB / 0.5425 GB, free: 4.992 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.08608, allocations: 0.6862 MB / 0.5432 GB, free: 4.305 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.08633, allocations: 274.7 kB / 0.5434 GB, free: 4.035 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007083/0.08704, allocations: 498.7 kB / 0.5439 GB, free: 3.547 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004637/0.09167, allocations: 1.908 MB / 0.5458 GB, free: 1.633 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.09168, allocations: 0 / 0.5458 GB, free: 1.633 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.09169, allocations: 4 kB / 0.5458 GB, free: 1.629 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001162/0.0918, allocations: 0 / 0.5458 GB, free: 1.629 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.004049/0.09585, allocations: 1.652 MB / 0.5474 GB, free: 15.94 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.247e-05/0.09593, allocations: 9.469 kB / 0.5474 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.09609, allocations: 143.9 kB / 0.5475 GB, free: 15.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006092/0.0967, allocations: 188 kB / 0.5477 GB, free: 15.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.09831, allocations: 0.8034 MB / 0.5485 GB, free: 14.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.764e-05/0.09841, allocations: 74.38 kB / 0.5486 GB, free: 14.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.09859, allocations: 100.1 kB / 0.5486 GB, free: 14.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.1006, allocations: 1.338 MB / 0.55 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.1006, allocations: 7.984 kB / 0.55 GB, free: 13.15 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-05/0.1007, allocations: 36 kB / 0.55 GB, free: 13.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.1007, allocations: 24 kB / 0.55 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.1022, allocations: 1.012 MB / 0.551 GB, free: 12.07 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006045/0.1082, allocations: 3.237 MB / 0.5542 GB, free: 8.754 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.1099, allocations: 0.8753 MB / 0.555 GB, free: 7.867 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006541/0.1105, allocations: 443.8 kB / 0.5554 GB, free: 7.434 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002704/0.1132, allocations: 1.345 MB / 0.5568 GB, free: 6.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.663e-05/0.1133, allocations: 51.11 kB / 0.5568 GB, free: 6.012 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 8.806e-06/0.1133, allocations: 4 kB / 0.5568 GB, free: 6.008 MB / 474.7 MB Notification: Performance of matching and sorting (n=122): time 0.008813/0.1221, allocations: 4.028 MB / 0.5607 GB, free: 1.887 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.1222, allocations: 90.27 kB / 0.5608 GB, free: 1.773 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.1232, allocations: 0.8011 MB / 0.5616 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.51e-05/0.1233, allocations: 45.7 kB / 0.5617 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004555/0.1238, allocations: 0.4896 MB / 0.5621 GB, free: 412 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/0.1241, allocations: 444.2 kB / 0.5626 GB, free: 15.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.1243, allocations: 194.9 kB / 0.5627 GB, free: 15.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1245, allocations: 353.9 kB / 0.5631 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006788/0.1251, allocations: 414.4 kB / 0.5635 GB, free: 15.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.1261, allocations: 0.5859 MB / 0.564 GB, free: 14.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.1276, allocations: 1.063 MB / 0.5651 GB, free: 13.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.1276, allocations: 4 kB / 0.5651 GB, free: 13.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003288/0.1309, allocations: 1.502 MB / 0.5666 GB, free: 11.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.131, allocations: 10.34 kB / 0.5666 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.131, allocations: 4 kB / 0.5666 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008597/0.1318, allocations: 307.2 kB / 0.5669 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.1324, allocations: 239.6 kB / 0.5671 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009825/0.1422, allocations: 11.25 MB / 0.5781 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.1436, allocations: 55.95 kB / 0.5781 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.1437, allocations: 43.98 kB / 0.5782 GB, free: 14.87 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.0009181/0.1447, allocations: 265.6 kB / 0.5784 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/0.1449, allocations: 135.1 kB / 0.5786 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003476/0.1484, allocations: 1.797 MB / 0.5803 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.1484, allocations: 15.94 kB / 0.5803 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/0.1484, allocations: 4 kB / 0.5803 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.1484, allocations: 11.97 kB / 0.5803 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004195/0.1526, allocations: 2.56 MB / 0.5828 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.1526, allocations: 0 / 0.5828 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006647/0.1533, allocations: 203.7 kB / 0.583 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00069/0.154, allocations: 330.6 kB / 0.5834 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/0.154, allocations: 31.98 kB / 0.5834 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/0.1648, allocations: 11.25 MB / 0.5944 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/0.1648, allocations: 7.969 kB / 0.5944 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004015/0.1689, allocations: 2.111 MB / 0.5964 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000482/0.1693, allocations: 115.2 kB / 0.5965 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.1695, allocations: 24 kB / 0.5966 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004896/0.17, allocations: 55.95 kB / 0.5966 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003653/0.1703, allocations: 108.9 kB / 0.5967 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.1705, allocations: 39.98 kB / 0.5968 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008917/0.1713, allocations: 0.5837 MB / 0.5973 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.1713, allocations: 0 / 0.5973 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001843/0.1732, allocations: 431.7 kB / 0.5977 GB, free: 9.672 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.005294/0.1785, allocations: 2.934 MB / 0.6006 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003504/0.182, allocations: 1.997 MB / 0.6026 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.182, allocations: 128 / 0.6026 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.1842, allocations: 1.531 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.002403/0.1866, allocations: 0.5299 MB / 0.6046 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/0.2055, allocations: 10.07 MB / 0.6144 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.2062, allocations: 0.5139 MB / 0.6149 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001279/0.2075, allocations: 246 kB / 0.6152 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006778/0.2082, allocations: 492.3 kB / 0.6156 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of SimCode: time 5.76e-06/0.2082, allocations: 0 / 0.6156 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5799/0.7881, allocations: 41.72 MB / 0.6564 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.58, allocations: 7.266 kB / 0.6564 GB, free: 130.7 MB / 0.5417 GB " [Timeout remaining time 647] (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: 15.753257235512137] Failed to read output from testmodel.py, exit status != 0: 12.700332020409405 12.707440389 12.613718515 Calling exit ...