Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.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.001609/0.001609, allocations: 78.41 kB / 19.75 MB, free: 2.055 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.001766/0.001766, allocations: 156.1 kB / 23 MB, free: 4.949 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.417/1.417, allocations: 177.2 MB / 203.4 MB, free: 9.277 MB / 190.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 0.7375/0.7375, allocations: 79.61 MB / 339.4 MB, free: 11.56 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: translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") [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.002672/0.002672, allocations: 92.44 kB / 0.4924 GB, free: 26.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1169, allocations: 74.57 MB / 0.5652 GB, free: 6.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1576/0.2745, allocations: 124.6 MB / 0.6868 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005773/0.2803, allocations: 4.208 MB / 0.691 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003704/0.2806, allocations: 35.69 kB / 0.691 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007127/0.2814, allocations: 186.7 kB / 0.6912 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009007/0.2823, allocations: 322.2 kB / 0.6915 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.2834, allocations: 434.4 kB / 0.6919 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009926/0.2844, allocations: 0.7441 MB / 0.6926 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.2847, allocations: 66.84 kB / 0.6927 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.2858, allocations: 0.5022 MB / 0.6932 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005827/0.2864, allocations: 338.7 kB / 0.6935 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.974e-05/0.2864, allocations: 32 kB / 0.6935 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008225/0.2873, allocations: 383.3 kB / 0.6939 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.2874, allocations: 103.6 kB / 0.694 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.2876, allocations: 171.1 kB / 0.6942 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.2887, allocations: 0.6342 MB / 0.6948 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.2887, allocations: 4 kB / 0.6948 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2887, allocations: 0 / 0.6948 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.332e-05/0.2887, allocations: 0 / 0.6948 GB, free: 0.9727 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001753/0.2905, allocations: 0.7577 MB / 0.6955 GB, free: 188 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2905, allocations: 9.469 kB / 0.6955 GB, free: 180 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.2906, allocations: 56.59 kB / 0.6956 GB, free: 124 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2333/0.5239, allocations: 410.6 kB / 0.696 GB, free: 135.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.524, allocations: 22.77 kB / 0.696 GB, free: 135.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.275e-05/0.524, allocations: 22.19 kB / 0.696 GB, free: 135.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.5251, allocations: 449.6 kB / 0.6964 GB, free: 135.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.5251, allocations: 0.8125 kB / 0.6964 GB, free: 135.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.5251, allocations: 9.609 kB / 0.6965 GB, free: 135.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-05/0.5252, allocations: 20.81 kB / 0.6965 GB, free: 135.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.5263, allocations: 494.8 kB / 0.6969 GB, free: 134.9 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.5289, allocations: 1.184 MB / 0.6981 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.5295, allocations: 226.7 kB / 0.6983 GB, free: 134.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/0.5299, allocations: 194.1 kB / 0.6985 GB, free: 134 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.5301, allocations: 27.23 kB / 0.6985 GB, free: 134 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.5301, allocations: 36.41 kB / 0.6986 GB, free: 134 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 3.226e-06/0.5301, allocations: 0.5 kB / 0.6986 GB, free: 134 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.003217/0.5333, allocations: 1.225 MB / 0.6998 GB, free: 133.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.5334, allocations: 55.09 kB / 0.6998 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.5338, allocations: 326.3 kB / 0.7001 GB, free: 133.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.5339, allocations: 31.61 kB / 0.7002 GB, free: 133.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.534, allocations: 214.1 kB / 0.7004 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.5341, allocations: 121.2 kB / 0.7005 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.5342, allocations: 68.3 kB / 0.7005 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.5343, allocations: 350.1 kB / 0.7009 GB, free: 132.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.5346, allocations: 142.4 kB / 0.701 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.5349, allocations: 154.6 kB / 0.7012 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.5354, allocations: 334.1 kB / 0.7015 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5354, allocations: 3.5 kB / 0.7015 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008229/0.5362, allocations: 0.5176 MB / 0.702 GB, free: 132 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.5362, allocations: 5.562 kB / 0.702 GB, free: 132 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5363, allocations: 0.5625 kB / 0.702 GB, free: 132 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.5366, allocations: 113.2 kB / 0.7021 GB, free: 132 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.5369, allocations: 57.31 kB / 0.7021 GB, free: 131.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.5388, allocations: 2.175 MB / 0.7043 GB, free: 130.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.539, allocations: 9.188 kB / 0.7043 GB, free: 130.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.539, allocations: 16.36 kB / 0.7043 GB, free: 130.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.5392, allocations: 165.3 kB / 0.7045 GB, free: 130.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.5393, allocations: 48.12 kB / 0.7045 GB, free: 130 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009531/0.5402, allocations: 0.65 MB / 0.7051 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5402, allocations: 2.75 kB / 0.7051 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5402, allocations: 2.812 kB / 0.7051 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.5402, allocations: 4.969 kB / 0.7051 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.5406, allocations: 334.7 kB / 0.7055 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5406, allocations: 3.844 kB / 0.7055 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.5408, allocations: 31.72 kB / 0.7055 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003091/0.5411, allocations: 130.1 kB / 0.7056 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.5411, allocations: 10.95 kB / 0.7056 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.5429, allocations: 2.182 MB / 0.7078 GB, free: 127.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.543, allocations: 0 / 0.7078 GB, free: 127.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008895/0.5438, allocations: 0.6374 MB / 0.7084 GB, free: 127.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.5439, allocations: 33.97 kB / 0.7084 GB, free: 127.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.5439, allocations: 6.688 kB / 0.7084 GB, free: 127.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.5441, allocations: 6.062 kB / 0.7084 GB, free: 127.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.5442, allocations: 34 kB / 0.7085 GB, free: 127.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.5442, allocations: 6.953 kB / 0.7085 GB, free: 127.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002203/0.5444, allocations: 269.4 kB / 0.7087 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5444, allocations: 0 / 0.7087 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004864/0.5449, allocations: 111.9 kB / 0.7088 GB, free: 127.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002408/0.5451, allocations: 190.9 kB / 0.709 GB, free: 127.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008919/0.546, allocations: 0.5014 MB / 0.7095 GB, free: 126.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.546, allocations: 1.031 kB / 0.7095 GB, free: 126.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005802/0.5466, allocations: 357.2 kB / 0.7098 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.547, allocations: 62.77 kB / 0.7099 GB, free: 126.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.5485, allocations: 0.9476 MB / 0.7108 GB, free: 126.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.5487, allocations: 229 kB / 0.711 GB, free: 126 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002369/0.549, allocations: 89.31 kB / 0.7111 GB, free: 126 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.5491, allocations: 36.69 kB / 0.7112 GB, free: 126 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.5491, allocations: 0 / 0.7112 GB, free: 126 MB / 0.5919 GB Notification: Performance of Templates: time 0.01158/0.5606, allocations: 6.098 MB / 0.7171 GB, free: 123.5 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 5.595406550914049] Failed to read output from testmodel.py, exit status != 0: 0.567871443927288 0.577917894 0.286971801 Calling exit ...