Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00102/0.00102, allocations: 176 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.479/1.479, allocations: 194.4 MB / 202.4 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00167/0.00167, allocations: 109.6 kB / 247.4 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1971/0.1971, allocations: 39.95 MB / 332.2 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.98e-05/1.982e-05, allocations: 0 / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.292, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.255/6.547, allocations: 2.617 GB / 3.054 GB, free: 150.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/6.547, allocations: 84.73 kB / 3.054 GB, free: 150.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404/8.951, allocations: 0.6461 GB / 3.701 GB, free: 37.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.154e-06/8.951, allocations: 3.938 kB / 3.701 GB, free: 37.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001174/8.952, allocations: 28.72 kB / 3.701 GB, free: 37.52 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.009584/8.961, allocations: 2.389 MB / 3.703 GB, free: 35.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/8.961, allocations: 8.031 kB / 3.703 GB, free: 35.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004957/8.966, allocations: 0.5769 MB / 3.704 GB, free: 34.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/8.968, allocations: 0.855 MB / 3.704 GB, free: 33.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/8.969, allocations: 168.8 kB / 3.705 GB, free: 33.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003537/8.969, allocations: 67.45 kB / 3.705 GB, free: 33.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002185/8.971, allocations: 1.155 MB / 3.706 GB, free: 32.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/8.974, allocations: 1.365 MB / 3.707 GB, free: 30.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/8.974, allocations: 3.938 kB / 3.707 GB, free: 30.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/8.974, allocations: 4 kB / 3.707 GB, free: 30.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/8.974, allocations: 49.98 kB / 3.707 GB, free: 30.9 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.4726/9.447, allocations: 44 MB / 3.75 GB, free: 59.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/9.448, allocations: 0.5339 MB / 3.751 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000446/9.448, allocations: 313.4 kB / 3.751 GB, free: 59.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08936/9.537, allocations: 52.8 MB / 3.802 GB, free: 26.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/9.538, allocations: 45.38 kB / 3.803 GB, free: 26.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001002/9.539, allocations: 95.81 kB / 3.803 GB, free: 26.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=63): time 4.038e-06/9.539, allocations: 0 / 3.803 GB, free: 26.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.008855/9.547, allocations: 2.738 MB / 3.805 GB, free: 25.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/9.548, allocations: 110.1 kB / 3.805 GB, free: 25.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/9.549, allocations: 0.6595 MB / 3.806 GB, free: 25.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-05/9.549, allocations: 26.45 kB / 3.806 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/9.549, allocations: 0.6027 MB / 3.807 GB, free: 25.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/9.549, allocations: 254.5 kB / 3.807 GB, free: 25.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/9.549, allocations: 4 kB / 3.807 GB, free: 25.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001766/9.55, allocations: 401.1 kB / 3.807 GB, free: 24.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/9.55, allocations: 339.2 kB / 3.808 GB, free: 24.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000936/9.551, allocations: 0.9601 MB / 3.809 GB, free: 23.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/9.553, allocations: 0.6328 MB / 3.809 GB, free: 23.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/9.553, allocations: 15.02 kB / 3.809 GB, free: 23.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003129/9.556, allocations: 1.573 MB / 3.811 GB, free: 23.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/9.556, allocations: 16.81 kB / 3.811 GB, free: 23.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/9.556, allocations: 22.66 kB / 3.811 GB, free: 23.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/9.557, allocations: 452.9 kB / 3.811 GB, free: 23.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/9.558, allocations: 257.5 kB / 3.811 GB, free: 23.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/9.56, allocations: 1.775 MB / 3.813 GB, free: 22.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/9.561, allocations: 105.7 kB / 3.813 GB, free: 22.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/9.561, allocations: 85.98 kB / 3.813 GB, free: 22.62 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.mixingVolume2.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 16 (simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase,mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.0003088/9.561, allocations: 166.1 kB / 3.813 GB, free: 22.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/9.561, allocations: 98.88 kB / 3.814 GB, free: 22.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004586/9.566, allocations: 4.027 MB / 3.818 GB, free: 22.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-05/9.566, allocations: 51.8 kB / 3.818 GB, free: 22.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/9.566, allocations: 3.844 kB / 3.818 GB, free: 22.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/9.566, allocations: 7.516 kB / 3.818 GB, free: 22.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005879/9.572, allocations: 5.507 MB / 3.823 GB, free: 21.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/9.572, allocations: 0 / 3.823 GB, free: 21.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005061/9.573, allocations: 130.6 kB / 3.823 GB, free: 21.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/9.574, allocations: 0.7335 MB / 3.824 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/9.574, allocations: 14.33 kB / 3.824 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/9.575, allocations: 1.891 MB / 3.826 GB, free: 20.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/9.575, allocations: 0.75 kB / 3.826 GB, free: 20.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003863/9.579, allocations: 3.636 MB / 3.829 GB, free: 19.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000518/9.58, allocations: 348.9 kB / 3.83 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/9.58, allocations: 5.266 kB / 3.83 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006019/9.581, allocations: 62.59 kB / 3.83 GB, free: 19.74 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/9.581, allocations: 72.7 kB / 3.83 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-05/9.581, allocations: 30.61 kB / 3.83 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006168/9.581, allocations: 468.7 kB / 3.83 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/9.581, allocations: 0 / 3.83 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00612/9.588, allocations: 1.455 MB / 3.832 GB, free: 19.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 31 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007298/9.595, allocations: 2.301 MB / 3.834 GB, free: 19.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002189/9.597, allocations: 1.428 MB / 3.835 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/9.597, allocations: 0 / 3.835 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/9.598, allocations: 1.065 MB / 3.836 GB, free: 19.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/9.6, allocations: 386.1 kB / 3.837 GB, free: 19.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/9.604, allocations: 2.641 MB / 3.839 GB, free: 18.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006598/9.605, allocations: 1.369 MB / 3.841 GB, free: 17.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001259/9.606, allocations: 0.6283 MB / 3.841 GB, free: 17.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/9.606, allocations: 90.64 kB / 3.841 GB, free: 17.72 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/9.606, allocations: 3.844 kB / 3.841 GB, free: 17.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.06278/9.669, allocations: 46.14 MB / 3.886 GB, free: 14.27 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1)