Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 109.3 kB / 19.97 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 184.3 kB / 23.28 MB, free: 5.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 252.1 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7413/0.7413, allocations: 94.59 MB / 402 MB, free: 15.04 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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sink.inlet.m_flow|sink4.inlet.m_flow|sink6.inlet.m_flow|sink7.inlet.m_flow|source.outlet.m_flow|source3.outlet.m_flow|source7.outlet.m_flow|source8.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sink.inlet.m_flow|sink4.inlet.m_flow|sink6.inlet.m_flow|sink7.inlet.m_flow|source.outlet.m_flow|source3.outlet.m_flow|source7.outlet.m_flow|source8.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002552/0.002552, allocations: 95.09 kB / 0.5485 GB, free: 42.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1093, allocations: 71.89 MB / 0.6187 GB, free: 7.863 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.5374/0.6467, allocations: 238.4 MB / 0.8515 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04923/0.6959, allocations: 37.04 MB / 0.8877 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003628/0.6996, allocations: 111.3 kB / 0.8878 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005623/0.7052, allocations: 1.853 MB / 0.8896 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00999/0.7152, allocations: 3.123 MB / 0.8927 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008546/0.7237, allocations: 2.811 MB / 0.8954 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008203/0.7319, allocations: 5.122 MB / 0.9004 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.7336, allocations: 0.6636 MB / 0.9011 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004606/0.7382, allocations: 2.214 MB / 0.9032 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005128/0.7434, allocations: 2.717 MB / 0.9059 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.7444, allocations: 308 kB / 0.9062 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01231/0.7567, allocations: 4.597 MB / 0.9107 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.7579, allocations: 0.7666 MB / 0.9114 GB, free: 284 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003061/0.761, allocations: 1.722 MB / 0.9131 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.7729, allocations: 5.66 MB / 0.9186 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.7729, allocations: 0 / 0.9186 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7729, allocations: 0 / 0.9186 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001249/0.773, allocations: 0 / 0.9186 GB, free: 8.867 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.01022/0.7832, allocations: 4.16 MB / 0.9227 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.7833, allocations: 11.97 kB / 0.9227 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009113/0.7842, allocations: 369.7 kB / 0.923 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004051/0.7882, allocations: 2.077 MB / 0.9251 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.7884, allocations: 168.5 kB / 0.9252 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004455/0.7888, allocations: 243.9 kB / 0.9255 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005267/0.7941, allocations: 2.841 MB / 0.9282 GB, free: 14.77 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/0.7942, allocations: 7.938 kB / 0.9282 GB, free: 14.76 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.7944, allocations: 88.56 kB / 0.9283 GB, free: 14.68 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.573e-05/0.7945, allocations: 72.98 kB / 0.9284 GB, free: 14.61 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005041/0.7995, allocations: 2.863 MB / 0.9312 GB, free: 11.74 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01697/0.8165, allocations: 12.06 MB / 0.943 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/0.8206, allocations: 2.122 MB / 0.945 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.8226, allocations: 1.196 MB / 0.9462 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.8345, allocations: 8.721 MB / 0.9547 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.8345, allocations: 64.06 kB / 0.9548 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=225): time 4.278e-06/0.8345, allocations: 0 / 0.9548 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of matching and sorting (n=229): time 0.01895/0.8535, allocations: 9.499 MB / 0.9641 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/0.8536, allocations: 158.2 kB / 0.9642 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002755/0.8563, allocations: 1.854 MB / 0.966 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.8565, allocations: 61.7 kB / 0.9661 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009895/0.8575, allocations: 1.157 MB / 0.9672 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007523/0.8582, allocations: 0.8133 MB / 0.968 GB, free: 3.469 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007006/0.8589, allocations: 371.7 kB / 0.9684 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.8591, allocations: 301.1 kB / 0.9687 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.8607, allocations: 0.8981 MB / 0.9695 GB, free: 1.898 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.8628, allocations: 1.204 MB / 0.9707 GB, free: 0.5898 MB / 0.7012 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance4.m_flow = flowResistance4.m_flow_0 (flowResistance7.m_flow_0 - flowResistance5.m_flow_0 = flowResistance4.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance10.m_flow = flowResistance10.m_flow_0 (flowResistance6.m_flow_0 - flowResistance11.m_flow_0 = flowResistance10.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance8.m_flow = flowResistance8.m_flow_0 (flowResistance3.m_flow_0 - flowResistance9.m_flow_0 = flowResistance8.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance.m_flow = flowResistance.m_flow_0 (flowResistance2.m_flow_0 - flowResistance1.m_flow_0 = flowResistance.m_flow_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.05564/0.9184, allocations: 11.45 MB / 0.9819 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.9184, allocations: 4 kB / 0.9819 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00728/0.9257, allocations: 3.254 MB / 0.9851 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.9258, allocations: 8 kB / 0.9851 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.9258, allocations: 8 kB / 0.9851 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002911/0.9287, allocations: 0.8409 MB / 0.9859 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.9302, allocations: 371.4 kB / 0.9863 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01955/0.9498, allocations: 11.92 MB / 0.9979 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.9514, allocations: 68.02 kB / 0.998 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003078/0.9517, allocations: 95.95 kB / 0.9981 GB, free: 3.844 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: flowResistance4.m_flow = flowResistance4.m_flow_0 flowResistance10.m_flow = flowResistance10.m_flow_0 flowResistance8.m_flow = flowResistance8.m_flow_0 flowResistance.m_flow = flowResistance.m_flow_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (199): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,9,77.8%), (3,22,77.8%), (3,19,77.8%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001181/0.9529, allocations: 497.3 kB / 0.9985 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007458/0.9537, allocations: 270.5 kB / 0.9988 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008503/0.9622, allocations: 4.085 MB / 1.003 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-05/0.9622, allocations: 19.94 kB / 1.003 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.9622, allocations: 7.922 kB / 1.003 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.9628, allocations: 339.1 kB / 1.003 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004265/0.9633, allocations: 55.94 kB / 1.003 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.9645, allocations: 59.97 kB / 1.003 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000406/0.9649, allocations: 237 kB / 1.003 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008389/0.9733, allocations: 3.58 MB / 1.007 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007412/0.9807, allocations: 4.478 MB / 1.011 GB, free: 6.16 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001877/0.9826, allocations: 1.095 MB / 1.012 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002179/0.9847, allocations: 1.325 MB / 1.014 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of Backend: time 3.91e-07/0.9847, allocations: 4 kB / 1.014 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008939/0.9937, allocations: 3.798 MB / 1.017 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of SimCode: time 0.01024/1.004, allocations: 6.083 MB / 1.023 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of Templates: time 0.3709/1.375, allocations: 67.68 MB / 1.089 GB, free: 301.1 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestJunction.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 8.675795977993403] Failed to read output from testmodel.py, exit status != 0: 1.3826478509581648 1.393001851 0.6175311689999999 Calling exit ...