Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.00194/0.001941, allocations: 110.2 kB / 16.41 MB, free: 6.508 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.002172/0.002172, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.51/1.51, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.7327/0.7327, allocations: 93.73 MB / 390.9 MB, free: 4.598 MB / 302.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: "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 85.16 kB / 0.5285 GB, free: 40.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1264, allocations: 68.27 MB / 0.5952 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.5857/0.7121, allocations: 236 MB / 0.8257 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04681/0.759, allocations: 36.66 MB / 0.8615 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003631/0.7627, allocations: 111.3 kB / 0.8616 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00571/0.7684, allocations: 1.846 MB / 0.8634 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01145/0.7799, allocations: 3.06 MB / 0.8664 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01007/0.79, allocations: 2.73 MB / 0.869 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009267/0.7993, allocations: 5.083 MB / 0.874 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003102/0.8025, allocations: 1.101 MB / 0.8751 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005836/0.8084, allocations: 2.156 MB / 0.8772 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00548/0.8139, allocations: 2.659 MB / 0.8798 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001546/0.8155, allocations: 304 kB / 0.8801 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01263/0.8281, allocations: 4.5 MB / 0.8844 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.8299, allocations: 0.7589 MB / 0.8852 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004303/0.8343, allocations: 1.734 MB / 0.8869 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01632/0.8506, allocations: 5.64 MB / 0.8924 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.8507, allocations: 4 kB / 0.8924 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8507, allocations: 0 / 0.8924 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001676/0.8509, allocations: 0 / 0.8924 GB, free: 1.07 MB / 0.6231 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.01155/0.8624, allocations: 4.16 MB / 0.8965 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.8625, allocations: 12.03 kB / 0.8965 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007732/0.8633, allocations: 308.5 kB / 0.8968 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.8645, allocations: 365.7 kB / 0.8971 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004956/0.8695, allocations: 2.084 MB / 0.8991 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.8697, allocations: 164.5 kB / 0.8993 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005184/0.8702, allocations: 251.8 kB / 0.8995 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005212/0.8754, allocations: 2.806 MB / 0.9023 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.655e-05/0.8755, allocations: 0 / 0.9023 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/0.8757, allocations: 99.94 kB / 0.9024 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.843e-05/0.8758, allocations: 69 kB / 0.9024 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004916/0.8807, allocations: 2.804 MB / 0.9052 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01872/0.8995, allocations: 12.04 MB / 0.9169 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004333/0.9039, allocations: 2.294 MB / 0.9192 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002223/0.9061, allocations: 1.33 MB / 0.9205 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01312/0.9193, allocations: 8.718 MB / 0.929 GB, free: 9.195 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.9194, allocations: 64.06 kB / 0.929 GB, free: 9.125 MB / 0.67 GB Notification: Performance of pre-optimization done (n=225): time 4.108e-06/0.9194, allocations: 0 / 0.929 GB, free: 9.125 MB / 0.67 GB Notification: Performance of matching and sorting (n=229): time 0.0198/0.9392, allocations: 9.508 MB / 0.9383 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.9393, allocations: 158.1 kB / 0.9385 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003022/0.9424, allocations: 1.854 MB / 0.9403 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004815/0.9429, allocations: 61.7 kB / 0.9404 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.944, allocations: 1.165 MB / 0.9415 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/0.9451, allocations: 0.8094 MB / 0.9423 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007789/0.9459, allocations: 371.7 kB / 0.9426 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.9461, allocations: 301.1 kB / 0.9429 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.9478, allocations: 0.8943 MB / 0.9438 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/0.95, allocations: 1.204 MB / 0.945 GB, free: 8.262 MB / 0.6856 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.05308/1.003, allocations: 11.43 MB / 0.9561 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/1.003, allocations: 0 / 0.9561 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007311/1.01, allocations: 3.278 MB / 0.9593 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/1.011, allocations: 8 kB / 0.9593 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/1.011, allocations: 8 kB / 0.9594 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002961/1.014, allocations: 0.8474 MB / 0.9602 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/1.015, allocations: 371.5 kB / 0.9605 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/1.035, allocations: 11.91 MB / 0.9722 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/1.037, allocations: 68.11 kB / 0.9722 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003879/1.037, allocations: 99.89 kB / 0.9723 GB, free: 11.5 MB / 0.7169 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.001412/1.039, allocations: 486.4 kB / 0.9728 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/1.04, allocations: 282.1 kB / 0.9731 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009027/1.049, allocations: 4.118 MB / 0.9771 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.117e-05/1.049, allocations: 31.94 kB / 0.9771 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.382e-05/1.049, allocations: 8 kB / 0.9771 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-05/1.049, allocations: 15.95 kB / 0.9771 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/1.064, allocations: 6.593 MB / 0.9836 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/1.064, allocations: 8 kB / 0.9836 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.065, allocations: 351.5 kB / 0.9839 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002787/1.068, allocations: 0.7084 MB / 0.9846 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004874/1.069, allocations: 79.95 kB / 0.9847 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/1.083, allocations: 10.48 MB / 0.9949 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/1.083, allocations: 11.94 kB / 0.9949 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009603/1.092, allocations: 4.921 MB / 0.9997 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009923/1.093, allocations: 339.2 kB / 1 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006849/1.094, allocations: 63.98 kB / 1 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/1.096, allocations: 63.97 kB / 1 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007099/1.096, allocations: 200.9 kB / 1 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002745/1.097, allocations: 87.95 kB / 1 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002525/1.099, allocations: 1.345 MB / 1.002 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/1.099, allocations: 0 / 1.002 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005226/1.105, allocations: 1.24 MB / 1.003 GB, free: 11.29 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 8 (flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance9.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance11.inlet.m_flow,flowResistance6.inlet.m_flow,flowResistance5.inlet.m_flow,flowResistance7.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 (188): * Single equations (assignments): 184 * 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 {(2,8,100.0%), (3,19,77.8%), (3,22,77.8%), (3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01207/1.117, allocations: 6.745 MB / 1.01 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006479/1.123, allocations: 3.242 MB / 1.013 GB, free: 1.195 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/1.123, allocations: 0 / 1.013 GB, free: 1.195 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004349/1.128, allocations: 2.159 MB / 1.015 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004724/1.132, allocations: 0.8681 MB / 1.016 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3294/1.462, allocations: 22.02 MB / 1.037 GB, free: 311.8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002663/1.464, allocations: 1.801 MB / 1.039 GB, free: 311.1 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003283/1.468, allocations: 0.6402 MB / 1.04 GB, free: 311 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001942/1.47, allocations: 1.23 MB / 1.041 GB, free: 311 MB / 0.7637 GB Notification: Performance of SimCode: time 9.72e-07/1.47, allocations: 2.906 kB / 1.041 GB, free: 311 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1422/1.612, allocations: 88.86 MB / 1.128 GB, free: 237.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.19/17.81, allocations: 14.16 kB / 1.128 GB, free: 237.4 MB / 0.7637 GB " [Timeout remaining time 642] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestJunction.fmu > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 21.51511757890694] Failed to read output from testmodel.py, exit status != 0: 17.943357412004843 17.956520865 17.103209274 Calling exit ...