Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.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.001642/0.001642, allocations: 112.6 kB / 18.68 MB, free: 3.316 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.001702/0.001702, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 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.463/1.463, allocations: 225.6 MB / 250.6 MB, free: 13.37 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.7468/0.7468, allocations: 94.6 MB / 400.4 MB, free: 15.8 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.Boundaries.Tests.TestVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_fore1.rear.m_flow|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_rear|flexVolume2.M|flexVolume2.U_med|flexVolume2.m_flow_in|flowResistance11.rear.m_flow|heatportVolume.M|heatportVolume.U_med|heatportVolume.m_flow_fore|heatportVolume.m_flow_rear|heatportVolume1.M|heatportVolume1.U_med|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_fore|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|volume.M|volume.U_med|volume.m_flow_rear|volume1.M|volume1.U_med|volumeMix1.M|volumeMix1.MXi.1.|volumeMix1.MXi.2.|volumeMix1.U_med|volumeMix1.inlet.1..m_flow|volumeMix1.inlet.2..m_flow|volumeMix1.outlet.m_flow|volumeMix2.M|volumeMix2.MXi.1.|volumeMix2.MXi.2.|volumeMix2.U_med|volumeMix2.rear.1..m_flow|volumeMix2.rear.2..m_flow|volumeMix2.rear.3..m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_fore1.rear.m_flow|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_rear|flexVolume2.M|flexVolume2.U_med|flexVolume2.m_flow_in|flowResistance11.rear.m_flow|heatportVolume.M|heatportVolume.U_med|heatportVolume.m_flow_fore|heatportVolume.m_flow_rear|heatportVolume1.M|heatportVolume1.U_med|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_fore|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|volume.M|volume.U_med|volume.m_flow_rear|volume1.M|volume1.U_med|volumeMix1.M|volumeMix1.MXi.1.|volumeMix1.MXi.2.|volumeMix1.U_med|volumeMix1.inlet.1..m_flow|volumeMix1.inlet.2..m_flow|volumeMix1.outlet.m_flow|volumeMix2.M|volumeMix2.MXi.1.|volumeMix2.MXi.2.|volumeMix2.U_med|volumeMix2.rear.1..m_flow|volumeMix2.rear.2..m_flow|volumeMix2.rear.3..m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002503/0.002503, allocations: 84.83 kB / 0.5464 GB, free: 42.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.1007, allocations: 71.86 MB / 0.6166 GB, free: 8.555 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes): time 0.5915/0.6922, allocations: 310.4 MB / 0.9198 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04649/0.7387, allocations: 32.75 MB / 0.9518 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004565/0.7433, allocations: 170.9 kB / 0.9519 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.007318/0.7506, allocations: 2.753 MB / 0.9546 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01938/0.77, allocations: 7.62 MB / 0.962 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01501/0.785, allocations: 5.859 MB / 0.9678 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01271/0.7977, allocations: 9.129 MB / 0.9767 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.7995, allocations: 0.7267 MB / 0.9774 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01206/0.8116, allocations: 5.768 MB / 0.983 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007015/0.8186, allocations: 4.117 MB / 0.987 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001579/0.8202, allocations: 428 kB / 0.9875 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01935/0.8395, allocations: 9.082 MB / 0.9963 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002308/0.8419, allocations: 1.463 MB / 0.9978 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004312/0.8462, allocations: 2.818 MB / 1.001 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01956/0.8657, allocations: 9.907 MB / 1.01 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.8657, allocations: 7.984 kB / 1.01 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8657, allocations: 4 kB / 1.01 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001505/0.8659, allocations: 0 / 1.01 GB, free: 9.547 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1067 * Number of variables: 1067 Notification: Performance of Generate backend data structure: time 0.01402/0.8799, allocations: 6.518 MB / 1.017 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.88, allocations: 8.031 kB / 1.017 GB, free: 2.93 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003499/0.8835, allocations: 0.8231 MB / 1.017 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005958/0.8894, allocations: 3.03 MB / 1.02 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/0.8897, allocations: 312 kB / 1.021 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007167/0.8904, allocations: 439.8 kB / 1.021 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008909/0.8993, allocations: 5.258 MB / 1.026 GB, free: 8.852 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-05/0.8994, allocations: 7.938 kB / 1.026 GB, free: 8.844 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004144/0.8998, allocations: 172 kB / 1.026 GB, free: 8.676 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003778/0.9002, allocations: 283.2 kB / 1.027 GB, free: 8.398 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00799/0.9082, allocations: 4.687 MB / 1.031 GB, free: 3.703 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2688/1.177, allocations: 24.31 MB / 1.055 GB, free: 314.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005577/1.183, allocations: 3.3 MB / 1.058 GB, free: 313.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002667/1.185, allocations: 1.862 MB / 1.06 GB, free: 313 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01366/1.199, allocations: 11.11 MB / 1.071 GB, free: 304.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/1.199, allocations: 96.66 kB / 1.071 GB, free: 304.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=415): time 6.963e-06/1.199, allocations: 0 / 1.071 GB, free: 304.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=415): time 0.01482/1.214, allocations: 8.881 MB / 1.08 GB, free: 299.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/1.214, allocations: 251.6 kB / 1.08 GB, free: 298.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/1.217, allocations: 2.931 MB / 1.083 GB, free: 297.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0004476/1.217, allocations: 105.5 kB / 1.083 GB, free: 297.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009234/1.218, allocations: 1.916 MB / 1.085 GB, free: 296.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008956/1.219, allocations: 1.497 MB / 1.086 GB, free: 295.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/1.22, allocations: 0.7742 MB / 1.087 GB, free: 294.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 3.441e-05/1.22, allocations: 301.1 kB / 1.087 GB, free: 294.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/1.223, allocations: 1.573 MB / 1.089 GB, free: 293.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/1.225, allocations: 2.209 MB / 1.091 GB, free: 292.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005127/1.231, allocations: 4.004 MB / 1.095 GB, free: 289.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/1.231, allocations: 1.688 kB / 1.095 GB, free: 289.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.008473/1.239, allocations: 5.204 MB / 1.1 GB, free: 287.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/1.239, allocations: 14.31 kB / 1.1 GB, free: 287.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/1.239, allocations: 13.84 kB / 1.1 GB, free: 287.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/1.241, allocations: 0.547 MB / 1.1 GB, free: 286.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/1.243, allocations: 0.8671 MB / 1.101 GB, free: 286.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/1.255, allocations: 26.01 MB / 1.127 GB, free: 258.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/1.258, allocations: 415.5 kB / 1.127 GB, free: 258.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005545/1.258, allocations: 247.8 kB / 1.127 GB, free: 257.9 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (495): * Single equations (assignments): 468 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001736/1.26, allocations: 0.7786 MB / 1.128 GB, free: 257.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009987/1.261, allocations: 465.1 kB / 1.129 GB, free: 256.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009826/1.271, allocations: 6.725 MB / 1.135 GB, free: 249.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.798e-05/1.271, allocations: 23.92 kB / 1.135 GB, free: 249.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.271, allocations: 0 / 1.135 GB, free: 249.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009127/1.272, allocations: 0.5393 MB / 1.136 GB, free: 249.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006309/1.273, allocations: 92.31 kB / 1.136 GB, free: 249.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/1.275, allocations: 135 kB / 1.136 GB, free: 249.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004914/1.275, allocations: 330.2 kB / 1.136 GB, free: 248.9 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01118/1.287, allocations: 5.703 MB / 1.142 GB, free: 243.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009001/1.296, allocations: 6.87 MB / 1.148 GB, free: 236.3 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002337/1.298, allocations: 1.664 MB / 1.15 GB, free: 234.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002386/1.3, allocations: 2.047 MB / 1.152 GB, free: 232.6 MB / 0.7794 GB Notification: Performance of Backend: time 2.61e-07/1.3, allocations: 7.094 kB / 1.152 GB, free: 232.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01226/1.313, allocations: 7.002 MB / 1.159 GB, free: 225.8 MB / 0.7794 GB Notification: Performance of SimCode: time 0.01346/1.326, allocations: 11.02 MB / 1.17 GB, free: 214.9 MB / 0.7794 GB Notification: Performance of Templates: time 1.23/2.556, allocations: 108.6 MB / 1.276 GB, free: 106.8 MB / 0.7794 GB " [Timeout remaining time 657] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 12.60948941600509] Failed to read output from testmodel.py, exit status != 0: 2.563337929022964 2.572563042 1.704450397 Calling exit ...