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.001328/0.001328, allocations: 111.8 kB / 16.41 MB, free: 6.5 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.001346/0.001346, 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.433/1.433, 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.8057/0.8057, allocations: 93.72 MB / 390.9 MB, free: 4.602 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_dev_ThermofluidStream_Undirected_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 81.77 kB / 0.5285 GB, free: 40.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1164, allocations: 68.26 MB / 0.5952 GB, free: 8.074 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.5961/0.7125, allocations: 236 MB / 0.8257 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03944/0.752, allocations: 36.66 MB / 0.8615 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003261/0.7553, allocations: 111.3 kB / 0.8616 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005419/0.7607, allocations: 1.844 MB / 0.8634 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009775/0.7705, allocations: 3.062 MB / 0.8664 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008823/0.7794, allocations: 2.726 MB / 0.869 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008057/0.7875, allocations: 5.085 MB / 0.874 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.7894, allocations: 1.097 MB / 0.8751 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004425/0.7938, allocations: 2.156 MB / 0.8772 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004779/0.7986, allocations: 2.667 MB / 0.8798 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000942/0.7996, allocations: 304 kB / 0.8801 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01192/0.8115, allocations: 4.496 MB / 0.8844 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.813, allocations: 0.7551 MB / 0.8852 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003151/0.8161, allocations: 1.734 MB / 0.8869 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01403/0.8302, allocations: 5.637 MB / 0.8924 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.8302, allocations: 0 / 0.8924 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8302, allocations: 0 / 0.8924 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001109/0.8303, allocations: 0 / 0.8924 GB, free: 1.066 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.00956/0.8399, allocations: 4.168 MB / 0.8964 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.84, allocations: 8.031 kB / 0.8965 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004195/0.8404, allocations: 308.5 kB / 0.8967 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007739/0.8412, allocations: 365.7 kB / 0.8971 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003993/0.8452, allocations: 2.077 MB / 0.8991 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.8453, allocations: 172.5 kB / 0.8993 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004113/0.8457, allocations: 247.8 kB / 0.8995 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004968/0.8507, allocations: 2.813 MB / 0.9023 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.371e-05/0.8508, allocations: 0 / 0.9023 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/0.851, allocations: 92 kB / 0.9024 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.837e-05/0.8511, allocations: 64.98 kB / 0.9024 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004704/0.8558, allocations: 2.804 MB / 0.9052 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01719/0.873, allocations: 12.04 MB / 0.9169 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004347/0.8774, allocations: 2.306 MB / 0.9192 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002403/0.8798, allocations: 1.33 MB / 0.9205 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01297/0.8928, allocations: 8.721 MB / 0.929 GB, free: 9.176 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/0.8929, allocations: 56.12 kB / 0.929 GB, free: 9.113 MB / 0.67 GB Notification: Performance of pre-optimization done (n=225): time 5.05e-06/0.8929, allocations: 0 / 0.929 GB, free: 9.113 MB / 0.67 GB Notification: Performance of matching and sorting (n=229): time 0.01809/0.911, allocations: 9.511 MB / 0.9383 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.9112, allocations: 162.1 kB / 0.9385 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/0.9138, allocations: 1.85 MB / 0.9403 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001915/0.914, allocations: 61.7 kB / 0.9404 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009894/0.915, allocations: 1.161 MB / 0.9415 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007407/0.9157, allocations: 0.8055 MB / 0.9423 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006299/0.9164, allocations: 379.7 kB / 0.9426 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.9165, allocations: 305.1 kB / 0.9429 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.9181, allocations: 0.8943 MB / 0.9438 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/0.92, allocations: 1.2 MB / 0.945 GB, free: 8.25 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.05257/0.9726, allocations: 11.44 MB / 0.9561 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-06/0.9726, allocations: 0 / 0.9561 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00695/0.9796, allocations: 3.274 MB / 0.9593 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.9796, allocations: 8 kB / 0.9593 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.9797, allocations: 8 kB / 0.9594 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/0.9824, allocations: 0.8516 MB / 0.9602 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.9838, allocations: 367.5 kB / 0.9605 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01872/1.003, allocations: 11.91 MB / 0.9722 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/1.004, allocations: 64.02 kB / 0.9722 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/1.005, allocations: 95.95 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.001018/1.006, allocations: 493.4 kB / 0.9728 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005765/1.006, allocations: 278.1 kB / 0.9731 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008076/1.014, allocations: 4.121 MB / 0.9771 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.969e-05/1.014, allocations: 27.94 kB / 0.9771 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/1.014, allocations: 12 kB / 0.9771 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.112e-05/1.014, allocations: 19.94 kB / 0.9771 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/1.027, allocations: 6.585 MB / 0.9836 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.027, allocations: 4 kB / 0.9836 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/1.028, allocations: 351.5 kB / 0.9839 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0025/1.03, allocations: 0.7168 MB / 0.9846 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/1.031, allocations: 79.95 kB / 0.9847 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/1.044, allocations: 10.48 MB / 0.9949 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.044, allocations: 4 kB / 0.9949 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009329/1.054, allocations: 4.925 MB / 0.9997 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008306/1.055, allocations: 343.2 kB / 1 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004334/1.055, allocations: 59.98 kB / 1 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/1.056, allocations: 59.97 kB / 1 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004738/1.057, allocations: 200.9 kB / 1 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/1.057, allocations: 83.95 kB / 1 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002061/1.059, allocations: 1.353 MB / 1.002 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.606e-06/1.059, allocations: 0 / 1.002 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003936/1.063, allocations: 1.244 MB / 1.003 GB, free: 11.27 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.01142/1.074, allocations: 6.736 MB / 1.01 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006134/1.081, allocations: 3.242 MB / 1.013 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.081, allocations: 4 kB / 1.013 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004128/1.085, allocations: 2.167 MB / 1.015 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004714/1.09, allocations: 0.8504 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.3504/1.44, allocations: 22.03 MB / 1.037 GB, free: 311.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002284/1.442, allocations: 1.805 MB / 1.039 GB, free: 310.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002865/1.445, allocations: 0.6313 MB / 1.04 GB, free: 310.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/1.447, allocations: 1.223 MB / 1.041 GB, free: 310.8 MB / 0.7637 GB Notification: Performance of SimCode: time 6.71e-07/1.447, allocations: 3.969 kB / 1.041 GB, free: 310.8 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1322/1.579, allocations: 88.87 MB / 1.128 GB, free: 237.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/18.3, allocations: 11.36 kB / 1.128 GB, free: 237.4 MB / 0.7637 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Topology_Tests_TestJunction.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 21.951349437935278] Failed to read output from testmodel.py, exit status != 0: 18.442422126885504 18.458067072 17.624941602 Calling exit ...