Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Boundaries.Tests.Volumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_in|heatportVolume.M|heatportVolume.U_med|heatportVolume1.M|heatportVolume1.U_med|heatportVolume1.m_flow_in|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_out|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|sink5.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source7.outlet.m_flow|volume.M|volume.U_med|volume1.M|volume1.U_med|volumeMix.M|volumeMix.MXi.1.|volumeMix.MXi.2.|volumeMix.U_med|volumeMix.inlet.1..m_flow|volumeMix.inlet.2..m_flow|volumeMix.outlet.m_flow|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|volumeMix3.M|volumeMix3.MXi.1.|volumeMix3.MXi.2.|volumeMix3.U_med|volumeMix3.inlet.1..m_flow|volumeMix3.inlet.2..m_flow|volumeMix3.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes") translateModel(ThermofluidStream.Boundaries.Tests.Volumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_in|heatportVolume.M|heatportVolume.U_med|heatportVolume1.M|heatportVolume1.U_med|heatportVolume1.m_flow_in|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_out|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|sink5.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source7.outlet.m_flow|volume.M|volume.U_med|volume1.M|volume1.U_med|volumeMix.M|volumeMix.MXi.1.|volumeMix.MXi.2.|volumeMix.U_med|volumeMix.inlet.1..m_flow|volumeMix.inlet.2..m_flow|volumeMix.outlet.m_flow|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|volumeMix3.M|volumeMix3.MXi.1.|volumeMix3.MXi.2.|volumeMix3.U_med|volumeMix3.inlet.1..m_flow|volumeMix3.inlet.2..m_flow|volumeMix3.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008408/0.0008409, allocations: 171 kB / 16.11 MB, free: 5.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205 MB / 221.9 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007109/0.0007109, allocations: 101.5 kB / 269.9 MB, free: 8.664 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6176/0.6176, allocations: 90.51 MB / 408.3 MB, free: 3.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002852/0.0002853, allocations: 8 kB / 484.9 MB, free: 7.219 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2408, allocations: 65.81 MB / 0.5378 GB, free: 34.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Volumes): time 0.5175/0.7583, allocations: 365.5 MB / 0.8946 GB, free: 6.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.3467/1.105, allocations: 40.88 MB / 0.9346 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004203/1.109, allocations: 58.53 kB / 0.9346 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00606/1.115, allocations: 2.714 MB / 0.9373 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01769/1.133, allocations: 7.825 MB / 0.9449 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01962/1.153, allocations: 8.018 MB / 0.9527 GB, free: 436 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01143/1.164, allocations: 11.74 MB / 0.9642 GB, free: 428 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/1.166, allocations: 1 MB / 0.9652 GB, free: 16.15 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007836/1.174, allocations: 4.138 MB / 0.9692 GB, free: 16.09 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004548/1.178, allocations: 3.443 MB / 0.9726 GB, free: 16.09 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0006015/1.179, allocations: 191.6 kB / 0.9728 GB, free: 16.09 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02714/1.206, allocations: 17.27 MB / 0.9896 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001456/1.208, allocations: 1.241 MB / 0.9908 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00371/1.211, allocations: 2.3 MB / 0.9931 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0242/1.235, allocations: 12.94 MB / 1.006 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/1.235, allocations: 0 / 1.006 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.633e-06/1.236, allocations: 3.375 kB / 1.006 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002047/1.236, allocations: 4 kB / 1.006 GB, free: 9.664 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 995 * Number of variables: 995 Notification: Performance of Generate backend data structure: time 0.01159/1.247, allocations: 5.135 MB / 1.011 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/1.247, allocations: 8.25 kB / 1.011 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/1.263, allocations: 1.224 MB / 1.012 GB, free: 6.078 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/1.267, allocations: 1.977 MB / 1.014 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/1.267, allocations: 299.4 kB / 1.014 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004774/1.267, allocations: 400.3 kB / 1.015 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007493/1.275, allocations: 5.101 MB / 1.02 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.912e-05/1.275, allocations: 6.531 kB / 1.02 GB, free: 3.125 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003752/1.275, allocations: 167.1 kB / 1.02 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003609/1.276, allocations: 301.9 kB / 1.02 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006168/1.282, allocations: 4.368 MB / 1.024 GB, free: 15.94 MB / 0.6667 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.03297/1.315, allocations: 22.96 MB / 1.047 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005392/1.32, allocations: 3.524 MB / 1.05 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002875/1.323, allocations: 2.3 MB / 1.052 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01405/1.337, allocations: 11.81 MB / 1.064 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.452e-05/1.337, allocations: 109.9 kB / 1.064 GB, free: 13.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=436): time 6.572e-06/1.337, allocations: 0 / 1.064 GB, free: 13.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=436): time 0.0153/1.353, allocations: 9.421 MB / 1.073 GB, free: 5.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.81e-05/1.353, allocations: 273.7 kB / 1.073 GB, free: 4.996 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/1.355, allocations: 1.991 MB / 1.075 GB, free: 3.492 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003102/1.355, allocations: 114.8 kB / 1.076 GB, free: 3.438 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000831/1.356, allocations: 1.48 MB / 1.077 GB, free: 2.535 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000986/1.357, allocations: 1.499 MB / 1.078 GB, free: 1.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/1.357, allocations: 84.88 kB / 1.078 GB, free: 1.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002047/1.357, allocations: 475.7 kB / 1.079 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/1.36, allocations: 1.728 MB / 1.081 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003181/1.363, allocations: 2.377 MB / 1.083 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006129/1.369, allocations: 4.364 MB / 1.087 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/1.369, allocations: 11.94 kB / 1.087 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of matching and sorting (n=552) (initialization): time 0.009105/1.379, allocations: 5.45 MB / 1.093 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/1.379, allocations: 12 kB / 1.093 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/1.379, allocations: 16 kB / 1.093 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/1.38, allocations: 0.5652 MB / 1.093 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/1.383, allocations: 0.8233 MB / 1.094 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/1.399, allocations: 24.38 MB / 1.118 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/1.402, allocations: 465 kB / 1.118 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004296/1.402, allocations: 262.3 kB / 1.118 GB, free: 6.395 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (488): * Single equations (assignments): 451 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 10 * 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,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001595/1.404, allocations: 0.7464 MB / 1.119 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000959/1.405, allocations: 355.8 kB / 1.12 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/1.415, allocations: 5.742 MB / 1.125 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.497e-05/1.415, allocations: 23.86 kB / 1.125 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/1.415, allocations: 4 kB / 1.125 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009602/1.416, allocations: 459.7 kB / 1.126 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004778/1.417, allocations: 91.98 kB / 1.126 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005565/1.422, allocations: 393.5 kB / 1.126 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000587/1.423, allocations: 333.1 kB / 1.126 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01362/1.437, allocations: 6.421 MB / 1.133 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01128/1.448, allocations: 7.774 MB / 1.14 GB, free: 88 kB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003016/1.451, allocations: 2.113 MB / 1.142 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001683/1.453, allocations: 1.308 MB / 1.144 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of Backend: time 3.3e-07/1.453, allocations: 7.938 kB / 1.144 GB, free: 12.66 MB / 0.7761 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source2.outlet.state.X[1], source2.outlet.state.X[2]} = $TMP_ThermofluidStream_Boundaries_Tests_Volumes_source2_outlet_Medium_ThermodynamicState76.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source3.outlet.state.X[1], source3.outlet.state.X[2]} = $TMP_ThermofluidStream_Boundaries_Tests_Volumes_source3_outlet_Medium_ThermodynamicState82.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source4.outlet.state.X[1], source4.outlet.state.X[2]} = $TMP_ThermofluidStream_Boundaries_Tests_Volumes_source4_outlet_Medium_ThermodynamicState174.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source5.outlet.state.X[1], source5.outlet.state.X[2]} = $TMP_ThermofluidStream_Boundaries_Tests_Volumes_source5_outlet_Medium_ThermodynamicState180.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source8.outlet.state.X[1], source8.outlet.state.X[2]} = $TMP_ThermofluidStream_Boundaries_Tests_Volumes_source8_outlet_Medium_ThermodynamicState519.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source9.outlet.state.X[1], source9.outlet.state.X[2]} = $TMP_ThermofluidStream_Boundaries_Tests_Volumes_source9_outlet_Medium_ThermodynamicState525.X Notification: Performance of simCode: created initialization part: time 0.01855/1.471, allocations: 9.954 MB / 1.153 GB, free: 2.809 MB / 0.7761 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source8.outlet.state.X[1], source8.outlet.state.X[2]} = $TMP_ThermofluidStream_Boundaries_Tests_Volumes_source8_outlet_Medium_ThermodynamicState1328.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source9.outlet.state.X[1], source9.outlet.state.X[2]} = $TMP_ThermofluidStream_Boundaries_Tests_Volumes_source9_outlet_Medium_ThermodynamicState1342.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source4.outlet.state.X[1], source4.outlet.state.X[2]} = $TMP_ThermofluidStream_Boundaries_Tests_Volumes_source4_outlet_Medium_ThermodynamicState1642.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source5.outlet.state.X[1], source5.outlet.state.X[2]} = $TMP_ThermofluidStream_Boundaries_Tests_Volumes_source5_outlet_Medium_ThermodynamicState1656.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source2.outlet.state.X[1], source2.outlet.state.X[2]} = $TMP_ThermofluidStream_Boundaries_Tests_Volumes_source2_outlet_Medium_ThermodynamicState1736.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source3.outlet.state.X[1], source3.outlet.state.X[2]} = $TMP_ThermofluidStream_Boundaries_Tests_Volumes_source3_outlet_Medium_ThermodynamicState1750.X Notification: Performance of SimCode: time 0.01667/1.488, allocations: 12.23 MB / 1.165 GB, free: 6.555 MB / 0.7917 GB Notification: Performance of Templates: time 0.3625/1.851, allocations: 122 MB / 1.284 GB, free: 414.5 MB / 0.8386 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.pipe 2>&1)